The value of the integral $\int_0^{\pi/2}\dfrac{\text dx}{2+\cos x}$ can be expressed in the form $\dfrac{\pi^A\sqrt{B}}{C}$ where $A$, $B$, $C$ are positive integers and $B$ is not divisible by the square of any prime. Find the value of $A+B+C.$

Your answer seems reasonable.
Find out if you're right!