Computational Physics, Python, Interpolation, Differentiation, Integration.
plt.plot(x_fine,f_cube(x_fine)) plt.show() plt.plot(x_fine,f_try(x_fine)-np.sin(2*x_fine**2)) plt.plot(x_fine,f_cube(x_fine)-np.sin(2*x_fine**2),color='darkorange') plt.show() plt.plot(x_fine,f_cube(x_fine)-np.sin(2*x_fine**2),color='darkorange') plt.show() So we see that our initial function was