Question: Numerical Methods Question: (WILL NEED MATLAB) Suppose we want to approximate the function e x on the interval [0,1] by using polynomial interpolation with x

Numerical Methods Question: (WILL NEED MATLAB)

Suppose we want to approximate the function ex on the interval [0,1] by using polynomial interpolation with x0=0,

x1=1/2 and x2=1. Let p2(x) denote the interpolating polynomial.

(a) Find an upper bound for the error magnitude

Numerical Methods Question: (WILL NEED MATLAB) Suppose we want to approximate the

(b) Find the interpolationg polynomial using your favorite technique.

(c) Plot the function ex and the interpolant you found, both on the same figure, using the commands plot.

(d) Plot the error magnitude function ex on the interval [0,1] by using polynomial interpolation with x0=0, on the interval using logarithmic scale (the command semilogy) and verify by inspection that it is below the bound you found in part (a).

max e p2(T)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!