Question: 3. Consider the interpolation of the function f(3) = 2522 +1 1 (a) Write a program that computes the coefficients of the Newton form of

3. Consider the interpolation of the function f(3) = 2522 +1 1 (a) Write a program that computes the coefficients of the Newton form of an interpolating polynomial and that evaluates the resulting polynomial at a vector of points 2. (b) Using the code from part (a), produce interpolating polynomials using n evenly spaced data points with n= 3, 7, 15. Plot the resulting polynomials. (c) Using the code from part (a), produced interpolating polynomials using n Chebyshev nodes with n = 3,7, 15. Plot the resulting polynomials. (d) Produce a cubic spline interpolant using n evenly spaced data points with n = 3.7.15. Plot the resulting splines. You may use the built-in Matlab functions spline and ppval
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
