x ( t ) = A cos ( ω t + ϕ ) This is the generalised equation for SHM.
where,
t represents time in seconds, is the angular frequency in inverse seconds,
A represents amplitude in metres or centimetres and is the phase shift in radians