find the period of oscillations: