Animating a Double Pendulum in Python!

preview_player
Показать описание
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

-----------------------------------------------------------------------------------------------------------------------

Make sure to like and subscribe if you enjoyed the video, and don't hesitate to leave feedback in the comments for future videos!
Рекомендации по теме
Комментарии
Автор

Video request? Can you do a video on projectile motion and how to solve for the angle? It would help people making games in pygame.

dukeofdoom