micromass said:In such a situations, the t-formula's always help (but it's long).
I mean, do a substitution
t=\tan(\theta/2)
then
\cos\theta = \frac{1-t^2}{1+t^2}
\cos\theta = \frac{2t}{1+t^2}
\tan\theta = \frac{2t}{1-t^2}
This gives you a (not so nice) rational function.
micromass said:Just replace all occurences of cos(\theta) with
\frac{1-t^2}{1+t^2}
and change dx with
\frac{2dt}{1+t^2}
micromass said:Ummm, why did you substite it back? Just substitute t=\tan(\theta) and then solve the integral for t. No need to substitute it back...