Runge-Kutta method

Applies to: general, python, fortran

Runge-Kutta methods advance differential equations using several slope estimates per step. RK4 is a common fourth-order version.

y_next = y + dt*(k1 + 2*k2 + 2*k3 + k4)/6

See also: euler-method, numerical-integration