All courses › Numerical Methods › Euler's method
Euler's method
Euler's explicit method solves an ODE numerically by following the slope from each point a small step forward. It is simple but low order: the global error is , so short steps are needed for good accuracy.
one Euler step
Symbols
| step size | ||
| the slope at |
Example
, , : each step is multiplied by .
.
Halving roughly halves the global error — Euler only has first-order accuracy.
Practise differential equations and stability for free →
← Splines and Gaussian quadrature · Runge–Kutta (RK4) →
Part of Numerical Methods: Differential equations and stability.