A block of mass $m$ lying on a rough horizontal plane is acted upon by a horizontal force $P$ and another force $Q$ inclined at an angle $\theta$ to the vertical. The block will remain in equilibrium if the coefficient of friction between it and the surface is
(a) $\frac{P+Q \sin \theta}{m g+O \cos \theta}$
(b) $\frac{P \cos \theta+Q}{m g-0 \sin \theta}$
(c) $\frac{P+Q \cos \theta}{m g+Q \sin \theta}$
(d) $\frac{P \sin \theta-Q}{m g-O \cos \theta}$