A mass is attached to a spring and it executes simple harmonic motion. The mass is also attached to a sensor such that it makes a beeping sound whenever it is in its mean position. The mass is pulled to a length d from the mean position and the frequency f of the beep is noted Now the mass is pulled to a length d' (d' > d) and the frequency of beep was noted to be f'. After this the mass was pushed to d'' (d'' < d) and the frequency of beep was noted f''. Given d, d', d'' are all close to the mean position.
we find f=f′=f′′
The frequency(f) of a body doing SHM is related to its time period(T) as f =1T. The time period of a body executing SHM is not dependent on the amplitude [T=2π√mk], On pulling or pushing the block we change only the amplitude of SHM (K and m remains the same) which does not change the time period and hence frequency.