The total energy of the block-spring system can be found as follows:
here, is the spring constant, is the amplitude of the motion.
As we can see from the formula, since the spring constant and the amplitude of the motion remains unchanged, the total energy of the block-spring system also remains unchanged.
Comments