The thin rod has weight W and rest against the floor and the floor and the wall for which the coefficients of static friction are Ua and Ub respectively. Determine the smallest value of theta for which the rod will not move. (theta is the angle between the floor and the rod)