**sling_ode**,
a MATLAB code which
sets up and solves a system of ordinary differential equations
(ODE) for which the exact circular solution can only be approximated
for a short interval before it spirals to the origin.

A parameter S has the default value 1, and corresponds to rapid decay of the solution. If S is decreased towards 0, the computed solution is better able to stay close to the exact circular path. Once S becomes negative, however, the approximated solutions will tend to spiral out to infinity.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

**sling_ode** is available in
a MATLAB version and
an Octave version and
a Python version.

matlab_ode, MATLAB codes which set up various ordinary differential equations (ODE).

- sling_conserved.m, evaluates a quantity that should be conserved for the ODE.
- sling_deriv.m, returns the right hand side of the ODE.
- sling_parameters.m, returns parameters for the ODE.