Solving second order ODEs
Objective: Introduction:A simple pendulum consist of a metal mass held by a string to a stationary wall.Themass oscillates because of gravity and its inertia when lifted and then left to fall.Thisoscillation can be modeled using second order differential equation.Input equationb = 0.05Ns/mg = 9.81m/s2l = 1m.m = 1kg.θ = 0rad.(θt)…