Mathematics, Science, Programming, Python, Engineering.
The state variables y₁ and y₂ introduced in Equations 9 and 10 correspond to position and velocity, respectively. Equations 9 and 10 — State Variables Hence, two first-order ODEs replace the second-order EOM indicated by Equations 11 and 12. Python is used to integrate the system of ODEs