Animating a Double Pendulum in Python!

Publié le: 03 septembre 2022
sur la chaîne: Angry Physicist
1,477
61

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!


Sur cette page du site, vous pouvez voir la vidéo en ligne Animating a Double Pendulum in Python! durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Angry Physicist 03 septembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,477 fois et il a aimé 61 téléspectateurs. Bon visionnage!