We have "h=x_i-x_{i-1}=0.3" and "s=-1\/3," therefore, make a table with first to fourth divided differences. For example, calculate the first value in the First divided differences column (where "n=1" is the number of the divided difference:
Consequently, for the second, third and fourth divided difference "n=2,3,4."
The table will look like this:
The table is adapted from Burden & Faires (2004)
We will use the underlined numbers in the Stirling's formula. The Stirling’s formula to approximate "f(1.5)" with "x_0 = 1.6" is
References
R. Burden, J. Faires (2004). Numerical Analysis. 8 edition.
Comments
Leave a comment