Project:-4 Newton'S Forward and Backward Difference Interpolation Formula
Project:-4 Newton'S Forward and Backward Difference Interpolation Formula
Project:-4 Newton'S Forward and Backward Difference Interpolation Formula
PRESENTED BY :-
NAME – V SAI MANASA
REG.NO - 210101120040
SEC - A
BRANCH :-COMPUTER SCIENCE AND ENGINEERING
we need to have some given data points and the interval in which we want to
interpolate the function.
Let's assume we have a function f(x) and we want to find its value at an interior point
x = x0, where x0 lies between the first and the last data point.
Let's also assume that we have n+1 data points and the interval h = (xn - x0)/n is equal
for all the intervals.
And so on, we can keep computing the forward differences until we get a constant
value.
Once we have the forward difference table, we can use the following formula to
interpolate the function at the interior point x0:
And so on, we can keep computing the backward differences until we get a constant value.
Once we have the backward difference table, we can use the following formula to interpolate the function
at the interior point x0: