A 20 kg box slides 4.0 m down the frictionless ramp shown in the figure(Figure 1) , then collides with a spring whose spring constant is 210 N/m .
1) What is the maximum compression of the spring?
2) At what compression of the spring does the box have its maximum speed?
https://d2vlcm61l7u1fs.cloudfront.net/media%2F17b%2F17b1dafb-2c41-4bd9-8053-68d9c58d0076%2Fphpqv5RcV.png