A vertical load $\mathbf{P}$ is applied at end $B$ of rod $B C .$
(a) Neglecting the weight of the rod, express the angle $\theta$ corresponding
to the equilibrium position in terms of $P, l,$ and the counterweight $W .$
(b) Determine the value of $\theta$ corresponding to equilibrium if $P=2 W$