Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started