Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Evenly spaced fitting points are often not well-suited for polynomial interpolation. A famous example is given by Runge to interpolate f(x) = 1 1

 


Evenly spaced fitting points are often not well-suited for polynomial interpolation. A famous example is given by Runge to interpolate f(x) = 1 1 + 25x on the interval [-1,1]. (A) Find a sixth-order approximation to f(x) using seven evenly spaced fitting points. Be sure to plot f(x) and po(x) on the same axes, and also plot the error f(x) - po(x). (B) Find a tenth-order approximation to (2) using eleven evenly spaced fitting points. Be sure to plot f(x) and pio(x) on the same axes, and also plot the error f(x) - Pio(x). (C) Find a 100th-order approximation to f(x) using one-hundred-and-one evenly space fitting points. Be sure to plot f(x) and pioo (x) on the same axes, and also plot the error f(x) - Pio(x). (D) Compare the results for these three approximations.

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

Introduction To Quantum Mechanics

Authors: David J. Griffiths, Darrell F. Schroeter

3rd Edition

1107189632, 9781107189638

More Books

Students also viewed these Programming questions