# Why do we use sine/cosines in Simple Harmonic Motion? [duplicate]

For example, to calculate the displacement of the particle in an harmonic oscillator we do:

$$x(t) = x_{\max} \cos(ωt+φ)$$

What do we find out taking the cosine of (ωt+φ)?

Example Graph: