Lagrange, Newton, Interpolation, Python, Mathematics.
plt.scatter(x,y) xx = np.linspace(0, 8, 100) yy = [lagrange_interpolation(x,y,i) for i in xx] xo= np.linspace(0.01,8,200) plt.plot(xo, np.log(xo), label="f(x)=lnx", color="black") plt.grid(True, which='both') plt.axvline(x=0, color='k') plt.axhline(y=0, color='k') plt.plot(xx,yy) fig = plt.figure()