Backward Euler method: Difference between revisions

Content deleted Content added
more on stability
Derivation: there was an extra factor of h before the integral
Line 19:
 
Integrating the differential equation <math> y' = f(t,y) </math> from <math> t_k </math> to <math> t_{k+1} = t_k + h </math> yields
: <math> y(t_{k+1}) - y(t_k) = h \int_{t_k}^{t_{k+1}} f(\tau, y(\tau)) \,\mathrm{d}\tau. </math>
Now approximate the integral on the right by the right-hand [[rectangle method]] (with one rectangle):
: <math> y(t_{k+1}) - y(t_k) \approx h f(t_{k+1}, y(t_{k+1})) \,\mathrm{d}\tau. </math>