How To Solve and Animate a 3D Double Pendulum in Python

Check out my course on UDEMY: learn the skills you need for coding in STEM: https://www.udemy.com/course/python-s... In this video I solve for the equations of motion of the 3D double pendulum using Lagrangian mechanics (with the assistance of sympy), use scipy to solve the corresponding differential equations that give the motion, and use the package vpython to create a 3D animation. Code: (Notebook): https://github.com/lukepolson/youtube... (Animation Script): https://github.com/lukepolson/youtube... Discord:   / discord   0:00 Introduction 0:38 Animation/Sick Beatz 1:41 Solving the Double Pendulum 30:09 Animating the Double Pendulum