Second order differential equation. d^2x/dt^2 + 16.085*x = 0, x(0) = pi/6, x'(0) = 0 this is a swinging pendulum problem, where x is the angle the…

Second order differential equation.d^2x/dt^2 + 16.085*x = 0, x(0) = pi/6, x'(0) = 0this is a swinging pendulum problem, where x is the angle the pendulum makes from vertical. The length of the pendulum is 2 and g = 32.17d^2Theta/dt^2 + g/2*sin(theta) = 0For small angles x is approximation for sin(x)

The general swinging pendulum equation is: d2 xdt2 g+ Lx = 0 where x = angle made by the pendulum with the vertical.g = gravitational forceL = length of pendulumgGiven, g = 32.17, L = 2, L =…