End A of a slender, uniform rod of length L and weight W bears on a surface as shown, while end B is supported by a cord BC. Knowing that the coefficients of friction are µs = 0.40 and µk = 0.30, determine
(a) the largest value of u for which motion is impending,
(b) the corresponding value of the tension in the cord.