Oscillation of a damped simple pendulum
Objective: To write the program to solve the following ODE.This ODE represents the equation of a motion of a damped simple pendulum. `d^2theta/dt^2 + (c/m)*d(theta)/dt + g/l*sintheta=0` `theta= angular displacement in radian` c = damping coefficient m = mass of the pendulum g = acceleration due to gravity l =…