rk12


rk12, an Octave code which solves an ordinary differential equation (ODE) using a Runge-Kutta (RK) method of order 2, estimating the local error with a Runge-Kutta method of order 1.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

rk12 is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

rk12_test

octave_ode_solver, an Octave code which solves one or more differential equations (ODE) using a method of a particular order, either explicit or implicit. Some methods require a nonlinear equation solver. Some methods used a fixed stepsize, while others adapt the stepsize based on an error estimate.

Source Code:


Last revised on 20 October 2022.