pendulum_nonlinear_exact


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.

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

Licensing:

The information on this web page is 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, a MATLAB code which evaluates elliptic integrals and Jacobi elliptic functions cn(), dn(), sn(), by Milan Batista.

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

matlab_exact, a MATLAB code which evaluates exact solutions to a few selected examples of ordinary differential equations (ODE) and partial differential equations (PDE).

Reference:

Source Code:


Last revised on 22 November 2020.