Answer:
The energy of the system is 15 J.
Explanation:
Given that,
Energy E = 2.5 J
Amplitude = 10 cm
We need to calculate the spring constant
Using formula of mechanical energy of the system

Put the value into the formula



If the block is replaced by a block with twice the mass of the original block
Amplitude = 6 cm
We need to calculate the energy
Using formula of mechanical energy

Put the value into the formula


Hence, The energy of the system is 15 J.