A block of mass 2 kg is attached to one end of a massless spring whose other end is fixed at a wall. The spring-mass system moves on a frictionless horizontal table. The spring's natural length is 2 m and spring constant is 200 N/m. The block is pushed such that the length of the spring becomes 1 m and then released. At distance xm (x < 2) from the wall the speed of the block will be : [2025]
(2)

Given, Natural length of spring = 2 m
Initial compression is spring
Final compression in spring
Using energy conservation: