Double pendulum equations of motion (source code)

= Double pendulum equations of motion

The nonlinear Euler--Lagrange equations couple both angular accelerations and contain centrifugal terms quadratic in angular velocity.