Question: !HELP! !PLEASE USE MATLAB!! FOLLOW THIS FORMAT AS WELL Problem 1. Let f(x)=ex2. Construct the degree 10 Lagrange interpolating polynomial P10 using 11 equally spaced

!HELP! !PLEASE USE MATLAB!! FOLLOW THIS FORMAT AS WELL
Problem 1. Let f(x)=ex2. Construct the degree 10 Lagrange interpolating polynomial P10 using 11 equally spaced nodes of the form (xi,f(xi)) where x0=10 and x10=10. Plot f and P10 in the same figure. Problem 2. Consider the normal distribution error function: erf(x)=20xet2dt. (a) Use the Maclaurin series (Taylor series centered at 0 ) to construct a table for erf(x) that is accurate to 104 for erf(xi) where xi=0.2i for i=0,1,,5. (b) Use a Lagrange polynomial to obtain an approximation to erf(1/3). Problem 3. Construct a clamped cubic spline that approximates the function f given f(9)=3 and f(7)=1 and the following table of points. Plot the cubic spline with its nodes and use it to approximate f(0). You don't have to write a code that computes the cubic spline directly. You can work out the system of equations on paper and then use MATLAB solve the appropriate matrix equation and then construct and evaluate the cubic
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
