**pendulum_comparison_ode**,
a MATLAB code which
compares the linear and nonlinear ordinary differential equations (ODE)
that represent the behavior of a 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_comparison_ode** is available in
a MATLAB version.

pendulum_double_ode_movie, a MATLAB code which solves the double pendulum ordinary differential equation (ODE) for a given set of initial conditions and parameters, and makes a movie of the results.

pendulum_elastic_ode a MATLAB code which sets up and solves the ordinary differential equations (ODE) that represent the behavior of a nonlinear elastic pendulum, with gravitational force G, spring constant K, unstretched length L, and mass M.

pendulum_nonlinear_exact, a MATLAB code which evaluates an exact formula for the solution of the the ordinary differential equations (ODE) that represent the behavior of a nonlinear pendulum of length L under a gravitational force of strength G.

pendulum_nonlinear_ode, sets up a system of ordinary differential equations (ODE) that represent the behavior of a nonlinear pendulum of length L under a gravitational force of strength G.

pendulum_ode, 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.

pendulum_ode_period, a MATLAB code which sets up and solves 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, in order to estimate the period of oscillation.

- pendulum_conserved.m, evaluates a quantity that should be conserved for the linear pendulum ODE.
- pendulum_deriv.m, returns the right hand side of the linear pendulum ODE.
- pendulum_parameters.m, returns parameters for the linear pendulum ODE.

- pendulum_nonlinear_conserved.m, evaluates a quantity that should be conserved for the nonlinear pendulum ODE.
- pendulum_nonlinear_deriv.m, returns the right hand side of the nonlinear pendulum ODE.
- pendulum_nonlinear_parameters.m, returns parameters for the nonlinear pendulum ODE.