Given data:
The number of oscillations of the particle in 2 seconds is 50.
Solution:
The frequency is defined as the number of oscillations of the particle in one second.
Thus, the frequency of the oscillation of particle is,

where n is the number of oscillations, and t is the time,
Substituting the known values,

Thus, the frequency of oscillation is 25 hertz.