SIMULATION OF THE MOTION OF SIMPLE PENDULUM USING MATLAB
Objective: OBJECTIVE To write a MATLAB program to simulate the motion of the pendulum To create an animation file of the motion THEORY The equation which satisfies the motion of the pendulum is as follows- `(d^2theta)/dt^2+(b/m)*(d theta)/dt +(g/l)*sintheta = 0` where m= mass of the bob b= damping…