Simulation of simple pendulum
Objective: AIM: Write a program that will simulate the pendulum motion by using the given conditions L=1 metre, m=1 kg, b=0.05 N-s/rad-m, g=9.81 m/s2, Simulating the motion between 0-20 sec Taking initial conditions as at t=0 , angular velocity=3 rad/sec and angular displacement =0 INTRODUCTION: For getting the equation of motion…