A pendulum of length L swings from rest to rest n times in one second. The value of acceleration due to gravity is
4π2n2L
2π2n2L
π2n2L
π2n2L2
f=12πgL=n2