Question: Integrating int(1/(A^2 - B^2*cos(t))^(1/2), t = 0 .. 2*Pi)

I want to integrate the function int(1/(A^2 - B^2*cos(t))^(1/2), t = 0 .. 2*Pi), I get the correct solution, but I want to prevent all the "if" statements from appearing. I have tried to use "assume" but the if statement still does not disappear.  

Please Wait...