`~rai~`
\(c)y=\sin^2x+\cos2x-2\\\quad=\dfrac{1-\cos2x}{2}+\cos2x-2\\\quad=\dfrac{1-\cos2x+2\cos2x-4}{2}\\\quad=\dfrac{\cos2x-3}{2}.\\\text{Ta có:}-1\le \cos2x\le 1\\\Leftrightarrow -4\le \cos2x-3\le -2\\\Leftrightarrow -2\le\dfrac{\cos2x-3}{2}\le -1\\\Leftrightarrow -2\le y\le -1.\\+)Min_y=-2\Leftrightarrow \cos2x=-1\Leftrightarrow 2x=\pi+k2\pi\Leftrightarrow x=\dfrac{\pi}{2}+k\pi.(k\in\mathbb{Z})\\+)Max_y=-1\Leftrightarrow \cos2x=1\Leftrightarrow 2x=k2\pi\Leftrightarrow x=k\pi.(k\in\mathbb{Z})\\\text{Vậy Min}_y=-2\text{ khi }x=\dfrac{\pi}{2}+k\pi;\text{Max}_y=-1\text{ khi }x=k\pi.(k\in\mathbb{Z})\)