# A spring with a constant of #1 (kg)/s^2# is lying on the ground with one end attached to a wall. An object with a mass of #2 kg# and speed of #4 m/s# collides with and compresses the spring until it stops moving. How much will the spring compress?

##### 1 Answer

Here mass

Velocity ,

spring constant,

By conservation of mechanical energy

PE of compressed spring= Initial kinetic energy of the moving object