Double Pendulum, a Chaos Simulation
Start Date: May 3, 2023
Double Pendulum, a Chaos Simulation
A simulation of a double pendulum.

To reset the pendulum, tap anywhere on the screen. This also lets you see behaviour from different starting positions.

This simulation works using the Lagrangian method. First writing the Lagrangian - the difference in the kinetic and potential energies - and then calculating the Euler-Lagrange equations.

Once these equations have been calculated, they tell us the acceleration of each pendulum at each point in time. We then use these accelarations to find the next velocites, and the next velocities to find the next positions. We can then move forward in time and repeat the process. The result of all this is seen in the simulation above.