Animating the motion of Pendulum in MATLAB and solving its ODE
Objective: Objective: Solving the differential equation for the motion of pendulum, plotting the results for displacement and velocity with respect to time and animating the motion of pendulum in MATLAB. Description: The equation for the motion of the simple pendulum is 2nd order differential equation. Solving this in matlab…