Finite Difference Method
Finite Difference Method
• gives approximations of a
differentiable function
around a given point.
• gives accurate
estimations on the size of
error in approximation
TAYLOR’S THEOREM
If n ≥ 0 is an integer and ƒ is a function which is n
times continuously differentiable on the closed
interval [a, x] and n + 1 times differentiable on
the open interval (a, x), then
Yun Chen
The derivative at a is:
f ’(a + h) = f (a) + f ’ (a)h + R1(a)
f ’ (a + h) – f (a) –R1(a) = f ’(a)h
Divide h on both sides, we get:
α Uxx=Ut
2
Where, and
(r = k / h2)
Notice: This equation states that the temperature at
a location and time step is a linear combination of
the prior temperatures at the location and at the
nearest neighbors.
EXPLICIT METHOD