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

Theorem

 * $\ds \int \frac {\cos a x \rd x} {\paren {p + q \sin a x}^n} = \frac {-1} {a q \paren {n - 1} \paren {p + q \sin a x}^{n - 1} } + C$

Also see

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