The first idea is just to use central differences for both time and space derivatives, i.e.,
 |
(2.9) |
or, with
 |
(2.10) |
Schematical representation of the scheme can be seen on Fig. 2.1.2.
Figure 2.1:
Schematical visualization of the numerical scheme (2.10) for (2.2).
 |
Besides, one should add the initial conditions (2.7). To the implementation of the second initial condition one needs again the virtual point
,
With
one can rewrite the last expression as
and the second time row can be calculated as
 |
(2.11) |
where
.
Gurevich_Svetlana
2008-11-12