Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

!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

image text in transcribedimage text in transcribed!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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions