Matlab Program to simulate the transient behaviour of a simple pendulum and to create an animation of its motion
Objective: The objective is to write a program that solves the ODE that represents the equation of motion of a simple pendulum with damping. The equation to be solved is as follows: MATLAB CODE TO SIMULATE THE TRANSIENT BEHAVIOUR OF SIMPLE PENDULUM AND TO CREATE AN ANIMATION clear all close all clc %inputs b = 0.05; %Damping…