Program to simulate the transient behaviour of a simple pendulum and to create an animation of it's motion.
Objective: Aim To simulate the transient behaviour of a simple pendulum and to create an animation of it's motion. Introduction Second-order linear differential equations are used to model many situations in physics and engineering. It finds application in Springs, Pendulums etc. In this very problem we are using ODE to…