Ok, I am trying to integrate the following function, and not getting very far: it's s=integral between 0 and 2pi of cos^-1(arctan((2*pi/b)*a*cos(2*pi*x/b)))dx)^-1 where a and b are known variables. What I would like to know, is can this integral be evaluated directly, or must I use the trapezium rule, and if so how would I do that?