Concept explainers
- a. Use Algorithm 3.2 to construct the interpolating polynomial of degree four for the unequally spaced points given in the following table:
- b. Add f(1.1) = −3.99583 to the table and construct the interpolating polynomial of degree five.
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
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage Learning