\(y=\frac{\sqrt{3}}{2}sin2x+\frac{1}{2}cos2x+\frac{1}{2}=sin\left(2x+\frac{\pi}{6}\right)+\frac{1}{2}\)
Do \(-1\le sin\left(2x+\frac{\pi}{6}\right)\le1\Rightarrow-\frac{1}{2}\le y\le\frac{3}{2}\)
\(y_{min}=-\frac{1}{2}\) khi \(sin\left(2x+\frac{\pi}{6}\right)=-1\)
\(y_{max}=\frac{3}{2}\) khi \(sin\left(2x+\frac{\pi}{6}\right)=1\)