\[\tau_{a,b}(\theta)=\frac{a\cos\theta+b}{\sin\theta},\]