Hi, I'm trying to intergrate $\displaystyle \int \sqrt{2 + 2cos(t)}$

and I will use the double angle formulaes to get $\displaystyle \int 2cos(\frac{t}{2})$

but according to the mark scheme I should get $\displaystyle \int 2cos(t)$

howcome?

Thanks