$\mathrm{y}=\mathrm{A}_{0}+\mathrm{A} \sin \omega \mathrm{t}+\mathrm{B} \cos \omega \mathrm{t}$
Then the amplitude of its oscillation is given by
$y=A_{0}+\sqrt{A^{2}+B^{2}} \sin (\omega t+\phi)$
$\mathrm{A}_{0}$ is mean position, and $\sqrt{\mathrm{A}^{2}+\mathrm{B}^{2}}$ is amplitude
