8-P4. A slender uniform rod of length L = 20 in. is held in equilibrium as shown, with one end against a frictionless wall and the other end attached to a cord of length S = 30 in. Knowing that the weight of the rod is 10 lb, determine (a) the distance h, (b) the tension in the cord, (c) the reaction at B.

Fig: 1

Fig: 2