Several methods exists for finding better numerical solutions to first order differential equations of the formthan Euler's simple formula
One method uses forwards and backwards Euler formulae to derive a 'central' formula.
Subtracting these gives
Theterm means that the error at each iteration is of the order of
The error for the simple Euler forwards or backwards formulae are of the order of
so the central formula is more accurate.
Another method uses Euler's simple formula to find an estimate forusing
at
then uses this estimate to find a second estimate for
at the point
An average of these two values of
is used to provide an improved estimate for
The process is
Use this value ofto find
Then find
Example. Ifwith
estimate
with
The problem can be solved exactly by separation of variables.
hence
This is very accurate.