Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 p5image text in transcribed

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

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

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

978-0764535376

More Books

Students also viewed these Databases questions

Question

=+Describe an important trade-off you recently faced

Answered: 1 week ago