Euler method
The basic explicit method, predicting the next value from the current slope alone.
Solve a first-order ordinary differential equation through time and visualise differences in accuracy and stability.
| Method | Final value | Final error | Maximum error | Newton iterations | Status |
|---|
The basic explicit method, predicting the next value from the current slope alone.
Averages slopes at the start and predicted end of a step to improve accuracy.
Evaluates four slopes per step for high accuracy on smooth problems.
An implicit method using the slope at the next time. Newton's method solves the unknown at every step.
A second-order backward-difference method using the previous two points. It starts with one Backward Euler step.
Let \(f_n=f(t_n,y_n)\) and \(h=t_{n+1}-t_n\).
Newton's method finds the unknown \(z=y_{n+1}\).
The first point is generated by Backward Euler; later residual equations \(R(z)\) are solved with Newton's method.
This first version handles scalar first-order equations dy/dt = f(t,y) with a fixed step size. The high-accuracy reference is a finer-step RK4 result. Implicit methods, including Gear, use Newton iterations and may fail for some equations or settings. Verify results with specialist software before research or design use.