Question: (40 pts.) Suppose we want to approximate the function e on the interval [0.1] by using polynomial interpolation with xo = 0, x,-1/2 and x,-1.

(40 pts.) Suppose we want to approximate the function e on the interval [0.1] by using polynomial interpolation with xo = 0, x,-1/2 and x,-1. Let p2(x) denote the interpolating polynomial (a) Find an upper bound for the error magnitude max le-p)l. 0sI31 (b) Find the interpolating polynomial using your favorite technique. (c) Plot the function e and the interpolant you found, both on the same figure, using the commands plot. (d) Plot the error magnitude le-p2(r) on the interval using logarithmic scale (the com- mand semilogy) and verify by inspection that it is below the bound you found in part (a)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
