conservation_ode


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:

Licensing:

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

Languages:

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

Related Data and Programs:

conservation_ode_test

octave_ode, an Octave code which sets up various ordinary differential equations (ODE).

Reference:

Source code:

The pendulum.

Predator prey.

Rigid body.


Last revised on 26 May 2021.