Second order ODE for simple pendulum motion simulation
Objective: AIM: Writing a MATLAB program for simple pendulum motion simulation govern by second order ODE which depends on Newton's second law. `d^2theta/dt^2 +(b/m)*(d theta/dt) +(g/L)*sin theta=0` 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.…