Lab 16 · Lecture 16 · Newton's Forward and Backward Interpolation
Newton Interpolation Lab
Interpolate your own equally spaced tables with Newton's forward and backward formulas, see every term, and test the limits.
Type the x values (equally spaced) and the y values, then the point x. The table lists every term, exactly as a written solution would show it. Add a true f(x) to see the actual error.
The difference table behind the formulas.
Newton forward and backward
Try this
Q1 Derive Newton's forward interpolation formula.
Put . Then ; expanding by the binomial theorem gives .
Q2 When do you use the backward formula instead of the forward one?
When lies near the end of the table: the backward formula uses differences at the end () and keeps , so fewer terms are needed and the error is smaller.
Q3 From : 1, 2, 3, 4, 5 and : 1, 8, 27, 64, 125 find .
Forward with : (exactly ).
Q4 Why is extrapolation dangerous?
The error term contains , which grows rapidly when is outside the table; nothing in the data controls the polynomial there.
Q5 Find for : 0, 1, 2, 3, 4 and : 1, 7, 23, 55, 109.
, , , ; : .