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

Theorem

 * $\displaystyle \int \frac {\cos a x \rd x} {p + q \sin a x} = \frac 1 {a q} \ln \left\vert{p + q \sin a x}\right\vert + C$

Also see

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