Simulation of motion of a simple pendulum
Objective: Aim: The aim of this program is to solve an Ordinary Differential Equation for animating the motion of a simple pendulum. Background: The ODE for a simple pendulum considering it as a simple spring-mass-damper system is `(d^2 theta)/dt^2+(b/m)(d theta)/dt+g/l sin theta=0` where, b-damping coefficient m-mass of the…