A 2 kg block has an initial velocity of 16 m/s at the bottom of the ramp (see

diagram below). The coefficient of kinetic friction between the block and the
ramp is 0.1. The spring has length 3 m and has a spring constant of 100
N/m. What maximum compression will the spring experience when the block
strikes it?

If you want someone who's knowledgeable about physics to help you -- then follow directions and type the name of your school subject in the indicated box.