Content deleted Content added
see also Crank–Nicolson method |
|||
Line 20:
== Derivation ==
Integrating the differential equation <math> \frac{\mathrm{d} y}{\mathrm{d} t} = f(t,y) </math> from <math>
: <math> y(t_{
Now approximate the integral on the right by the right-hand [[rectangle method]] (with one rectangle):
: <math> y(t_{
Finally, use that <math>
The same reasoning leads to the (standard) Euler method if the left-hand rectangle rule is used instead of the right-hand one.
|