The time period of a simple pendulum is given by the equation T=2π√lg. The equation of motion of the pendulum will be d2xdt2 :
T=2π√lgSince ω=2πT=√glThus, ω2=gl
and
Acceleration = −ω2x=d2xdt2=−gxl