Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given f(x)=sin(x)-x3+1, explicitly write down the error term, E, (x), for the cubic Lagrange interpolating polynomial of f(x) with x = -0.6, x =

  

Given f(x)=sin(x)-x3+1, explicitly write down the error term, E, (x), for the cubic Lagrange interpolating polynomial of f(x) with x = -0.6, x = 0.3, x2 = 0.6, x3 = 2.2 and estimate the error at x=1.78 using the Lagrange error formula. a. Explicitly write out the error formula, E,,(x) b. Estimated error at x=1.78, E (1.78)= c. Plot the error function in MATLAB, that is, the 3 dimensional plot as demonstrated in the problem videos using meshgrid to set up the (x,y) variables for evaluation of the error formula and the mesh plot command to plot the function. Recall that the theoretical error function is actually a function of 2 variables as indicated in the notes and videos.

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_2

Step: 3

blur-text-image_3

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

Numerical Analysis

Authors: Richard L. Burden, J. Douglas Faires

9th edition

538733519, 978-1133169338, 1133169333, 978-0538733519

More Books

Students also viewed these Programming questions

Question

= VLOOKUP ( $M$ 6 , $A$ 6 :$J$ 1 3 , 2 , FALSE )

Answered: 1 week ago