A particle executes simple harmonic motion on a straight line. The amplitude of oscillation is 2 cm. At the instant when the displacement of the particle from mean position is 1 cm, the magnitude of acceleration is equal to the magnitude of velocity. The frequency of the simple harmonic motion is