Question: 1. Interpolate the function sin(x) on the interval [0,/2] using a natural cubic spline interpolation with 5 equispaced nodes. 2. Interpolate the Runge function 1/(1
1. Interpolate the function sin(x) on the interval [0,/2] using a natural cubic spline interpolation with 5 equispaced nodes. 2. Interpolate the Runge function 1/(1 + 25x^2) on the interval [1,1] using a natural cubic spline interpolation with 10, 15, 20, and 25 equidispaced nodes. Graph the interpolants.
Provide Matlab code for both problems.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
