Solving ODE using MATLAB
Objective: Program to Sove 2nd order diffrential equation Here we have solved the second order diffrential equation for studying the motion pendulum using MATLAB. Here I have first converted the second order diffrential equation into first order and then solved the equation using MATLAB. In the program g = gravity…