Today we're solving the double pendulum in Python. We use the same method then the previous video.
The first step is to get Lagrange's equations for the angles using SymPy. Then we convert these symbolic expression into python functions using lambdify and plug them into odeint to get the solution
00:00 Introduction and set up
01:13 Getting the equations (SymPy)
10:24 Solving numerically
19:49 Animating the pendulum
Notebook on GitHub: https://github.com/louishrm/DoublePen...
-----------------------------------------------------------------------------------------------------------------------
Make sure to like and subscribe if you enjoyed the video, and don't hesitate to leave feedback in the comments for future videos!
In questa pagina del sito puoi guardare il video online Animating a Double Pendulum in Python! della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Angry Physicist 03 settembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,477 volte e gli è piaciuto 61 spettatori. Buona visione!