Compute the all parts of given problem:
Problem: An ideal spring with spring constant 600 N/m is on a 30 degree incline. The spring is now compressed 0.20 m and a 3.0 kg block is placed on top of the compressed spring. The block is then released from rest and is projected upward. There is a coefficient of kinetic friction between the incline and the block of 0.2. Use g = 10 m/s2.
Part I: What is the magnitude of the kinetic friction force as the block slides?
Part II: What is the distance along the incline that the block slides before coming to rest?
Please show how you obtained the answer.