2nd ODE and motion of a pendulum
Objective: The aim of the given program is to write a code to solve the 2nd order differential equation and plot the relevant graphs as well make an animation for showing the swing of the pendulum. Since a 2nd order differential equation is a bit of a stretch to solve as it is, it can be broken in smaller differential equation of…