Question: Problem 1. Consider the function g(x) following For each 10,20,40,80, use Matlab to do the 1. Construct the degree n Lagrange interpolating polynomial p (x)
Problem 1. Consider the function g(x) following For each 10,20,40,80, use Matlab to do the 1. Construct the degree n Lagrange interpolating polynomial p (x) using+1 uniformly spaced points on the interval [-1,1]. Plot p (x) and ga (x) on the same figure. Also plot the absolute error on a semilog scale. Do you see a Runge phenomenon for this function? 2. Repeat part 1 using the n +1 Tchebyshev nodes. You can use the various Matlab files I have uploaded for you. Turn in hardcopy of all Matlab files and plots, clearly labeled and annotated, organized into a written report using LaTeX, Word, or some other scientific word processing program. Explain your results. Imagine that you are preparing a report to a future boss on which method you recommend
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
