Question: Compute the first four polynomial interpolations (linear, quadratic, etc.) for the function f (x) = 1 exp(x) with evenly spaced data on the interval

Compute the first four polynomial interpolations (linear, quadratic, etc.) for the function f (x) = 1 − exp(−x) with evenly spaced data on the interval x ∈ [0, 3]. Make a plot of the interpolants and the function itself using MATLAB. Also make a plot of the difference between the function and the interpolant. You can either work it out by hand or by writing a program. If you work it out by hand, include the values of all the coefficients for each interpolation formula.

Step by Step Solution

3.55 Rating (179 Votes )

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 Numerical Methods With Chemical Engineering Applications Questions!