A 0.50kg block starts from rest at a point 1.2m above the top of an ideal horizontal spring fixed at one end. After sliding down a friction-less track, the block strikes the spring and comes momentarily to rest. If the spring constant is 400Nm−1, calculate the maximum compression of the spring.