A box of mass 10kg starts from rest and slide down a plane angled at 45 degrees to the horizontal. the box slides 2m down the plane before it encounters a spring with constant k=500 N/m which causes it to come to rest. What will the maximum compression of the spring be:

a) assuming the co-efficient of kinetic friction between the plane and the box is zero (ie: frictionless)
b) assuming the co-efficient of kinetic friction between the plane and box is 0.5

To find the maximum compression of the spring, we need to consider the energy transformations that occur during the box's motion down the plane.

a) Assuming a frictionless surface between the plane and the box:
We can consider the conservation of mechanical energy in this case. Initially, the box only has gravitational potential energy. As it slides down the plane, this potential energy is converted to kinetic energy. Finally, when the box comes to rest, all its kinetic energy is converted to potential energy stored in the compressed spring.

1. Calculate the initial gravitational potential energy:
Potential Energy (PE) = mass (m) * acceleration due to gravity (g) * height (h)
PE = 10 kg * 9.8 m/s^2 * 2 m

2. Calculate the energy stored in the compressed spring:
Potential Energy (PE) = 1/2 * spring constant (k) * maximum compression (x)^2
PE = 1/2 * 500 N/m * x^2

Since the total mechanical energy is conserved, the initial gravitational potential energy is equal to the final potential energy stored in the spring:
10 kg * 9.8 m/s^2 * 2 m = 1/2 * 500 N/m * x^2

Now we can solve for x (maximum compression of the spring).

b) Assuming a coefficient of kinetic friction between the plane and the box of 0.5:
In this case, we need to take into account the work done by friction. Since the box comes to rest, the work done by friction is equal to the initial kinetic energy of the box.

1. Calculate the initial kinetic energy:
Kinetic Energy (KE) = 1/2 * mass (m) * velocity (v)^2
As the box starts from rest, the initial velocity is 0, so KE = 0 J.

2. Calculate the work done by friction:
Work (W) = force of friction (F) * displacement (d)
The force of friction can be calculated using the equation F = coefficient of kinetic friction (μ) * normal force (N).
Since the plane is at an angle of 45 degrees to the horizontal, the normal force is equal to the component of gravity perpendicular to the plane, which is mg * cos(45). So, F = 0.5 * (10 kg * 9.8 m/s^2) * cos(45).

Since the work done by friction is equal to the initial kinetic energy, we have:
0.5 * (10 kg * 9.8 m/s^2) * cos(45) * 2 m = 1/2 * 500 N/m * x^2

Now we can solve for x (maximum compression of the spring) in this case as well.

Just plug in the values and solve the equations to find the maximum compression of the spring in both scenarios.