A 23 kg box slides 4.0 m down the frictionless ramp shown that is raised 30 degress from the ground , then collides with a spring whose spring constant is 140 N/m
(A) What is the maximum compression of the spring?
(B) At what compression of the spring does the box have its maximum speed?