A mass-spring system oscillates with an amplitude of 4.20 cm. If the spring constant is 262 N/m and the mass is 560 g, determine the mechanical energy of the system.