
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Do a study of the effect of the choice of polynomial interpolation points in the interval
k^ ,^ 0,^ ,
k x k N N
= = … and
k x k N N
… and
k x k N
For each of the functions:
i. (^2)
1 + x
ii.
x −
iii. 1 − x^2
a) compute polynomial interpolants on the 3 point sets for polynomial degree N = 1, 5, 10, and 15, and estimate the maximum error the interpolant makes on the entire
b) plot these errors and estimate the order of convergence of the error as a function of N; c) discuss the effectiveness of the choice for interpolation points.
You can use the Lagrange interpolation code that we developed during the class. However, put the comment in the very first line that this is not your code.
P.S. Bring your solution to class. Email your code to [email protected]. The program that you send should be a working program. All the codes will be checked whether they run or not. If they are erroneous, but run, points will be taken for the errors. If the code does not run (it has some syntax errors), an additional 25% will be taken off. The goal of this class is for you to be comfortable solving engineering problems. Please take your time and learn how to trust the computer.