program to simulate the transient behaviour of a simple pendulum
Objective: In this program the initial value are taken as below i order to solve the second order differential of a simple pendulem with damping L=1 metre, m=1 kg, b=0.05. g=9.81 m/s2. Simulate the motion between 0-20 sec, for angular displacement=0,angular velocity=3 rad/sec at time t=0 in the first step i used commands to clear…