Primitive of Cosine of a x over p plus q of Sine of a x

Theorem

 * $\ds \int \frac {\cos a x \rd x} {p + q \sin a x} = \frac 1 {a q} \ln \size {p + q \sin a x} + C$

Also see

 * Primitive of $\dfrac {\sin a x} {p + q \cos a x}$