Use Eq. (3.10) or Algorithm 3.2 to construct interpolating polynomials of degree one, two, and three for the following data. Approximate the specified value using each of the polynomials.
- a. f(0.43) if f(0) = 1, f(0.25) = 1.64872, f(0.5) = 2.71828, f(0.75) = 4.48169
- b. f(0) if f(−0.5) = 1.93750, f(−0.25) = 1.33203, f(0.25) = 0.800781, f(0.5) = 0.687500
ALGORITHM 3.2
Newton’s Divided-Difference Formula
To obtain the divided-difference coefficients of the interpolatory polynomial P on the (n + 1) distinct numbers x0, x1, … xn, for the function f:
INPUT numbers x0, x1, … xn; values f(x0), f(x1), …, f(xn) as F0,0, F1,0, …, Fn,0.
OUTPUT the numbers F0,0, F1,1, …, Fn,n where
Step 1 For i = 1, 2, …, n
For j = 1, 2, …, i
set
Step 2 OUTPUT (F0,0, F1,1, …, Fn,n);
STOP.
Want to see the full answer?
Check out a sample textbook solutionChapter 3 Solutions
Numerical Analysis
Additional Math Textbook Solutions
Precalculus: A Unit Circle Approach (3rd Edition)
Intro Stats, Books a la Carte Edition (5th Edition)
Elementary Statistics Using The Ti-83/84 Plus Calculator, Books A La Carte Edition (5th Edition)
Finite Mathematics for Business, Economics, Life Sciences and Social Sciences
- College AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageAlgebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal Littell
- College Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage Learning