Today we solve the equation of motion for the simple pendulum using object oriented Python. First we find the Lagrangian and the equation of motion using SymPy, we then convert the equation to a numerical Python function and solve it using scipy's odeint method before creating an animation in matplotlib.
Github notebook: https://github.com/louishrm/lagrangia...
0:00 Setting up the problem
1:32 Finding the equation of motion using sympy
8:31 Solving the equation
17:04 Animating the pendulum
In questa pagina del sito puoi guardare il video online Simple Pendulum Solved In Python (with animation!) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Angry Physicist 13 agosto 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 6,740 volte e gli è piaciuto 185 spettatori. Buona visione!