Expand description
The classical fourth-order Runge-Kutta method with a fixed step.
See the book entry Runge-Kutta methods.
Functionsยง
- rk4_
solve - Solves
y' = f(t, y)from(t0, y0)tot1withn_stepssteps of the classical fourth-order Runge-Kutta method (RK4), returning the state after every step.