**pendulum_ode**,
a Python code which
sets up a system of
ordinary differential equations (ODE) that represent the behavior
of a linear pendulum of length L under a gravitational force of strength G.

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

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

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

- pendulum_ode.py, the source code.
- pendulum_ode.sh, runs all the tests.
- pendulum_ode.txt, the output file.

- pendulum_solve_ivp.m, uses solve_ivp() to solve the problem.
- pendulum_solve_ivp_theta.png, a plot of the angular deflection over time.
- pendulum_solve_ivp_thetadot.png, a plot of the angular velocity over time.
- pendulum_solve_ivp_energy.png, a plot of the pendulum energy over time.