Evaluating numerical algorithm
Gauss Forward Interpolation estimates functional values near the middle of an equally spaced table by taking forward zig-zag central difference steps around a central origin point .
Given the functional dataset:
| x | 2.5 | 3.0 | 3.5 | 4.0 | 4.5 |
|---|---|---|---|---|---|
| y | 24.145 | 22.043 | 20.225 | 18.644 | 17.262 |
Let's estimate the value at !
Select as central origin (closest point preceding ) with step size :
| x | p | y | Δy | Δ²y | Δ³y |
|---|---|---|---|---|---|
| 2.5 | -2 | 24.145 | - | - | - |
| 3.0 | -1 | 22.043 | -1.818 | - | - |
| 3.5 (x_0) | 0 | 20.225 (y_0) | -1.581 (Δy_0) | 0.237 (Δ²y_-1) | -0.038 (Δ³y_-1) |
| 4.0 | 1 | 18.644 | -1.382 | 0.199 | - |
| 4.5 | 2 | 17.262 | - | - | - |
Gauss Forward Polynomial Formula:
Substituting values ():
Using Gauss Forward central difference interpolation, the calculated value at is exactly 19.4072!