integrate(x=0 to 3*pi)(1/(2+cos^2(x))