This code was for a project that I had for my classical mechanics class. The goal of the project was to look at the differential equation governing the motion of a driven damped pendulum. All the code is made by me.
The code includes:
A time sereis plot of the DE A state-space orbit plot for the DE A bifucation diagram for the DE An animation of the pendulum compared to the small angle apprximation.
The code for the animation is reurposed from https://scipython.com/book2/chapter-7-matplotlib/problems/p77/animating-a-pendulum/
samples of the animation can be seen here:
https://imgur.com/a/uqeWEVU https://imgur.com/a/muudf0n https://imgur.com/a/JF7Cpl3