Consider the scenario shown in the diagram below. A box (mass m1) is on a slope, which is inclined at an angle θ with respect to the horizontal. The box is connected via a string and pulley to a hanging weight (mass m2). The string and the pulley are assumed to be massless and frictionless, but there is friction between the box and the incline (with coefficient of kinetic friction μk).
Find the expression for T:
Written in terms of m1, m2, g, θ, u.