Frequency and period in simple harmonic motion