A 1540.0 g mass is ona horizontal surface with μk = 0.31, and isin contact with a massless spring with a force constant of 787.0N/m which is compressed. When the spring is released, it does 2.52J of work on the mass while returning to its equilibrium position.
A) Calculate the distance the spring was compressed.
B) What is the velocity of the mass as it loses contact withthe spring?