代码 import numpy as np from sympy import * from matplotlib import pyplot as plt def newton(x, y): n = len(x) c = np.zeros(