Question: 7. Write a computer program to perform polynomial interpolation using equally spaced points and the Chebyshev points on the interval -1, 1] for the function
7. Write a computer program to perform polynomial interpolation using equally spaced points and the Chebyshev points on the interval -1, 1] for the function f(x). Investigate the convergence of pn to f by running the program for n - 8, 16, 32 in the following cases 1 if 0. A(r) 121, and f2(x) Use a fine mesh to plot your interpolating polynomials. Discuss the results. As n gets larger, is there pointwise convergence? Is convergence uniform in ? (in MATLAB ?-abs(x) and the second function is sign(x), you can use the library function "polyfit" in MATLAB. Use "help polyfit" to find how to use it)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
