Simple harmonic motion is a special type of periodic motion in which displacement $x$ from a reference point is a sine or cosine function of time.
where $f$ is frequency of the periodic motion, and $A$ and $B$ are constants.