A mass suspended on a spring undergoes simple harmonic oscillations such that the velocity of the mass, with respect to time, is described by a sine curve. In the absence of friction, the total energy of the mass-spring system, with respect to time, will be given by
(1) a cosine curve.
(2) a sine-squared curve.
(3) a cosine-squared curve.
(4) a horizontal straight line.