The spring is then placed horizontally on the floor. One end of the spring is fixed to a wall. A cart of mass 0.50 kg moves on the floor with negligible friction and collides head-on with the free end of the spring, compressing it a maximum distance of 0.10 m.