**pendulum_comparison_ode_test**,
a MATLAB code which
calls pendulum_comparison_ode(), 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_test, 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.

- pendulum_comparison_ode_test.m, calls all the tests.
- pendulum_comparison_ode_test.sh, runs all the tests.
- pendulum_comparison_ode_test.txt, the output file.

- pendulum_comparison_energy.png, compares the energies of the linear and nonlinear ODEs.
- pendulum_comparison_phase.png, compares the phase plots of the linear and nonlinear ODEs.
- pendulum_comparison_theta.png, compares the angular deflections of the linear and nonlinear ODEs.
- pendulum_comparison_thetadot.png, compares the angular velocities of the linear and nonlinear ODEs.