For a mass-spring system undergoing simple harmonic motion, the total energy of the system is:
A. Constant and depends on the amplitude of motion
B. Constant and depends on the frequency of motion
C. Constant and depends on the velocity of motion
D. Constant and independent of all parameters