conservation_ode, an Octave code which monitors the conservation of a quantity that should be constant, during the solution of an ordinary differential equation (ODE).
In most real world cases, the exact solution of an ODE is not known. In many such cases, however, one or more conserved quantities can be identified, such as mass, momentum, or energy. Then an important indicator of ODE solution quality is the accuracy with which conservation constraints are observed.
ODE's which have a conserved quantity include:
The information on this web page is distributed under the MIT license.
conservation_ode is available in a MATLAB version and an Octave version and a Python version..
octave_ode, an Octave code which sets up various ordinary differential equations (ODE).
The pendulum.
Predator prey.
Rigid body.