Question: HW6 p5 5. Interpolation Error Coding (15 pts) Code in MATLAB. In 220-08-Interpolation.pdf on slide 5 we have a general formula for calculating the error

HW6 p5HW6 p5 5. Interpolation Error Coding (15 pts) Code in MATLAB. In

5. Interpolation Error Coding (15 pts) Code in MATLAB. In "220-08-Interpolation.pdf" on slide 5 we have a general formula for calculating the error of an nh order polynomial approximation of some function f(x): where zk are the sample points, and z is the location where you wish to evaluate your polynonial. On slide 6,f(x) = e-z/21s sampled at x = [1.1, 2, 3.5, 5, 7.1] Use a root-solving technique on each interval to find the x-value which maximizes the error in that interval. The symbolic toolbox may be helpful here as well as the functions diff ( ) and matlabFunction( ), but you can solve this any way you like. Use ??- le-5 as your error tolerance. Give the four values you estimated

Step by Step Solution

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 Databases Questions!