I'm trying to prove $$I := \int_{0}^{\pi/2}{\sqrt{1 + \sqrt{1 + (\tan{x})^{2/3}}}\,dx} = \frac{\pi}{2} (3^{1/4} + 3^{3/4} - 2)$$ which is around $2.5063328837$.
Using the $u$-substitution $u = \sqrt{-1 + \sqrt{1 + (\tan{x})^{2/3}}}$, we have \begin{align*} du &= \frac{1}{6}\frac{1}{\sqrt{1 + (\tan{x})^{2/3}}}\frac{1}{\sqrt{-1 + \sqrt{1 + (\tan{x})^{2/3}}}} (\tan{x})^{-1/3} \sec^2{x}\,dx \\ &= \frac{1}{6 u (u^2 + 1)} \frac{1}{\sqrt{(u^2 + 1)^2 - 1}} \left(((u^2 + 1)^2 - 1)^3 + 1\right) \,dx \\ &= \frac{1}{6 u^2 (u^2 + 1)} \frac{1}{\sqrt{u^2 + 2}} \left(u^6 (u^2 + 2)^3 + 1\right) \,dx \end{align*} and thus, $$I = \int_{0}^{\pi/2}{\sqrt{1 + \sqrt{1 + (\tan{x})^{2/3}}}\,dx} = 6 \int_{0}^{\infty}{\frac{u^2 (u^2 + 1) (u^2 + 2)}{u^6 (u^2 + 2)^3 + 1} \,du}$$ So we have the integral of a rational function, where the roots of the denominator can easily be found in closed form; hence using the method of residues, we can get an answer in closed form. Yet, I've done this and it's still not so obvious that the answer miraculously simplifies to $\frac{\pi}{2} (3^{1/4} + 3^{3/4} - 2)$.
My question is, seeing that the answer is so nice, is there a more clever way to solve this integral? I've tried different substitutions, integration by parts, the Feynman trick by putting a parameter in place of the exponent $2/3$, etc., but they all seem to go nowhere.
Thanks!