Very cool! If you are interested you could do some simulations to measure the Lyapunov exponent that demonstrate the chaotic behavior of the double pendulum.
Select a starting point and fix a simulation time (the longer the better but keep it manageable for your computation). Simulate the double pendulum and record its position at time t. Then rinse and repeat with slight changes of the initial conditions. You should observe that very small changes of the initial conditions result in very different positions at time t.
I'm taking Dynamics next semester and the end of the class is a double pendulum simulation. Apparently it's pretty in depth so I'll probably post on this sub again if I manage to do it in Python instead of Matlab like the rest of my University.
Holy crap universities are still using Matlab? I haven't used it once, not even octave, outside of a university in 2010. But then I'm not so much with the science.
Apparently it's huge in aerospace engineering and I believe space physics uses it heavily too. I use Python every chance I get but unfortunately for most programming assignments either the professor requires Matlab since that's all they know how to grade, or it's a group project and I'm the only person that knows any programming besides Matlab.
15
u/pa7x1 Jul 26 '19
Very cool! If you are interested you could do some simulations to measure the Lyapunov exponent that demonstrate the chaotic behavior of the double pendulum.
Select a starting point and fix a simulation time (the longer the better but keep it manageable for your computation). Simulate the double pendulum and record its position at time t. Then rinse and repeat with slight changes of the initial conditions. You should observe that very small changes of the initial conditions result in very different positions at time t.