For problems like these, I almost always throw my hands in the air and convert to sine and cosine! and so .

Now, that has an odd power of cosine, even though it is in the denominator, so I would multiply both numerator and denominator by in order to get

. Make the substitution so that and that integral becomes

which can be integrated by partial fractions.