Solving 2nd order ODE in Python using ODEINT
Objective: OBJECTIVE: Solving differential equation using ODEINT and simulating motion of pendulum using solution from ODE. Given ODE of 2nd order. PROGRAMMING EXPLAINED: 1.To solve ODE of 2nd order, we have to convert above equation into two, single order ODE. `(d(theta1))/(dt)=(theta2)`---->1 `(d(theta2))/(dt)+(b/m)*(theta2)+gsin(theta1)/(l)=0`------2…