SIMULATION OF SIMPLE PENDULUM USING MATLAB
Objective: AIM :- To write codes on Matlab for simulation of the simple pendulum. We are going to use second oder differential equation to solve the simple pendulum simulation problem `(d^2theta)/(dt^2)+b/m(d theta)/(dt) + g/l sin(theta) = 0`. form above equation we will create two ODE ie `(d theta1)/dt = theta2`, and `(d theta2)/dt…