The bob of a simple pendulum takes 0.25s to swing from its equilibrium position to…