I having some problems with the integration of $\sqrt{2-2\cos t}$. I got it by calculating the length of the arc
\begin{align} \gamma (t) &= (t - \sin t,1 - \cos t), \quad t\in[0,2\pi] \\ \implies \dot{\gamma(t)} &= (1 - \cos t, \sin t) \\ \implies \vert\vert\dot{\gamma(t)}\vert\vert &= \sqrt{(1 - \cos t)^2+(\sin t)^2} \\ &= \sqrt{2-2\cos t} \end{align}
How can I do?