pendulum_nonlinear_exact


pendulum_nonlinear_exact, an Octave 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.

The formula relies on the evaluation of Jacobi elliptic functions cn(x,k), dn(x,k), sn(x,k), and their inverses.

Licensing:

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

Languages:

pendulum_nonlinear_exact is available in a MATLAB version and an Octave version.

Related Data and codes:

pendulum_nonlinear_exact_test

elfun, an Octave code which evaluates elliptic integrals and Jacobi elliptic functions cn(), dn(), sn(), by Milan Batista.

elliptic_integral, an Octave code which evaluates complete elliptic integrals of first, second and third kind, using Carlson's elliptic integral functions.

pendulum_comparison, an Octave 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_nonlinear_ode, an Octave code which sets up the ordinary differential equations (ODE) that represent the behavior of a nonlinear pendulum of length L under a gravitational force of strength G.

Reference:

Source Code:


Last revised on 04 July 2023.