A 2.20-kg box is sliding along a frictionless horizontal surface with a speed of 1.8 m/s when it encounters a spring.(a) Determine the force constant of the spring, if the box compresses the spring 6.70 cm before coming to rest.