# How much is the spring compressed?

A block of mass M is traveling on a surface inclined at angle $\theta$. The coefficient of kinetic friction is $\mu$ between block and surface. The velocity of the block is V before colliding with a spring. The spring has a stiffness k. How much is the spring compressed?