Computational Physics, Python, Interpolation, Differentiation, Integration.
region of our data. After all, we are just fitting a polynomial, so the polynomial itself can be used anywhere. We can use this to extrapolate beyond the points we originally took our data as follows: f_ext=interpolate.interp1d(xI,yI,fill_value='extrapolate',kind='cubic') Let’s see what happens