a. Use Algorithm 3.2 to construct the interpolating polynomial of degree three for the unequally spaced points given in the following table:
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
University Calculus: Early Transcendentals (4th Edition)
Pathways To Math Literacy (looseleaf)
Finite Mathematics for Business, Economics, Life Sciences and Social Sciences
Probability And Statistical Inference (10th Edition)
Elementary Statistics (13th Edition)
Algebra and Trigonometry (6th Edition)
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningCollege AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning