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 computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

pendulum_nonlinear_exact is available in a MATLAB version.

Related Data and codes:

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.

pendulum_comparison, 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_nonlinear_exact_test

pendulum_nonlinear_ode, a MATLAB 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 22 November 2020.