Computational Physics, Python, Interpolation, Differentiation, Integration.
full range of [0,π] Notice that the interpolation is a function. So we can also use this function inside of our solving code: optimize.newton(f_cube,1) Out: 1.2532996656450621 np.sin(2*1.2532996656450606**2) Out: 7.254977768854082e-05 The interpolating function we created can be defined beyond the