Daniel B. answered 02/27/22
A retired computer professional to teach math, physics
There are two ways of solving it -- from Newton's Second Law and from
conservation of energy. Both give the same answer.
I think the latter is a little easier here, so I will use that.
Let
m = 2.0 kg be the mass of the box,
α = 20° the be incline of the ramp,
L = 5 m be the length of the ramp,
f = 0.2 be the coefficient of kinetic friction,
v0 = 1 m/s be initial velocity,
v1 (to be computed) be the final velocity,
g = 9.81 m/s² be gravitational acceleration.
The height of the ramp is Lsin(α).
The weight of the box is mg.
The component of the weight normal to the ramp is mgcos(α).
The force of friction if fmgcos(α).
By conservation of energy,
the initial potential energy -- mgLsin(α), plus
the initial kinetic energy -- mv0²/2, must be equal to
the final kinetic energy -- mv1²/2, plus
the work friction done during the slide -- Lfmgcos(α).
That is,
mgLsin(α) + mv0²/2 = mv1²/2 + Lfmgcos(α)
v1 = √(2Lg(sin(α) - fcos(α)) + v0²)
Substituting actual numbers
v1 = √(2×5×9.81×(sin(20°) - 0.2cos(20°)) + 1²) ≈ 4 m/s
Please note that the result is independent of m.