Kinetic & Elastic Energy Problem

A 2 kg block with speed v = 10 m/s pushes against a spring with negligible mass and force constant k = 400 N/m on a frictionless, horizontal surface.
Compute spring’s maximum compressed distance by the block? Enter your answer m Simulation Home