Examples With Assignment On Finite Difference
Examples With Assignment On Finite Difference
f ( x dx) f ( x dx)
x f lim
dx0 2dx
These are all correct definitions in the limit dx->0
But we want dx to remain FINITE
The equivalent approximations of the derivatives are:
y -1 -1 1 5
X Solution
Y
1 -1
-1-(-1) =0
2 -1 2-0 = 2
1-(-1) =2 2-2= 0
3 1 4-2= 2
5-1=4
4 5
Example2: construct a backward difference
table for the following data
x 1 2 3 4 5
y 1 8 27 64 125
X Y
1
Solution
1
8-1 =7
2 8 19-7= 12
27-8 = 19 18-12=6
3 27 37-19= 18 6-6=0
64-27 = 37 24-18 =6
4 64 61-37= 24
125-64= 61
5 125
Note that the computation (calculation) of the
differences is same in both cases, that is forward
differences or backward differences. Only their notation
differs
Newton’s forward Interpolation formula
•
Example: use Newton’s forward Interpolation formula find the value of f(1.6), if
x 1 1.4 1.8 2.2