Question: Please use MATLAB Apply the the two programs to compute the interpolant to f(x) = 1/(1 + 25x2) and do the following: (a) Using the
Apply the the two programs to compute the interpolant to f(x) = 1/(1 + 25x2) and do the following: (a) Using the 21 uniformly spaced nodes r,--1-k(1), k=0,1, ,20 have your program compute the error at -.985. (b) Using 21 Chebyshev nodes given by 2k 1 (220+1)), k=0, 1, . . . , 20. Have your program compute the error at x = .985. the output of your program should be the error in each case. Give an explanation of whether your results are consistent with the error bounds for each interpolation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
