Evaluating numerical algorithm
Gauss Forward Interpolation is used to interpolate a value close to the beginning or middle of the data set. The method uses central differences to create an interpolation polynomial.
Formula for Gauss Forward Interpolation:
Where:
Given the following data points:
| 2.5 | 24.145 |
| 3 | 22.043 |
| 3.5 | 20.225 |
| 4 | 18.644 |
| 4.5 | 17.262 |
| 5 | 16.047 |
We are tasked with finding where .
Take the point closest to as , with .
| 2.5 | -1 | 24.145 | -2.102 | ||||
| 3 | -0.5 | 22.043 | -1.818 | 0.284 | -0.047 | ||
| 3.5 | 0 | 20.225 | -1.581 | 0.237 | -0.038 | 0.009 | -0.003 |
| 4 | 0.5 | 18.644 | -1.382 | 0.199 | -0.032 | 0.006 | |
| 4.5 | 1 | 17.262 | -1.215 | 0.167 | |||
| 5 | 1.5 | 16.047 |
Therefore, using Gauss Forward Interpolation, the estimated value of at is approximately 19.397.