\phi=\mathrm{arctg}\,\frac{1-\cos\theta}{{3\over 2}\theta-\sin\theta}