Solving ODE of a Simple Pendulum in MATLAB
Objective: Objective: To write a program in Matlab that will simulate the pendulum motion ODE: In the above equation, g = gravity in m/s2, L = length of the pendulum in m, m = mass of the ball in kg, b=damping coefficient. Given Data: L=1 metre m=1 kg b=0.5 g=9.81 m/s^2. Initial Conditions: Time, t = 0 sec Angular displacement…