\varphi=\pi+\newcommand{\arctg}{\mathop{\mathrm{arctg}}}{\arctg{\frac{2(1-\cos\theta)}{2\sin\theta-3\theta}}}