henon_heiles_ode, a Python code which sets up the Henon-Heiles ordinary differential equations (ODE) for the motion of a star moving around a galactic center.


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


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

Related Data and codes:

python_ode, Python codes which sets up various systems of ordinary differential equations (ODE).


  1. Michel Henon, Carl Heiles,
    The applicability of the third integral of motion: Some numerical experiments,
    The Astronomical Journal,
    Volume 69, pages 73-79, 1964.

Source Code:

Last revised on 28 October 2020.