Solving second order ODE Using MATLAB
Objective: Aim: To write a program to simulate the transient behaviour of a simple pendulum and to create an animation of its motion. 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. (d^2 θ/dt^2) +(dθ/dt)*b/m+(g/l)*sinθ=0…