S
Objective: Aim: To write the program that solves the ODE for the motion of simple pendulum equation of simple pendulum clear all close all clc %simulate the transient behaviour of a simple pendulum motion % defining the inputs L=0.1; %length of the sleeve m=1; %mass of the sphere b=0.05 %damping coefficient g=9.81 %acceleration due…