\(\Leftrightarrow y=1-\cos^2x-\cos^2x+3\)
\(\Leftrightarrow y=-2\cos^2+4\)
\(Vì0\le\cos^2x\le1\)
\(\Rightarrow0\ge-2\cos^2x\ge-2\)
\(\Rightarrow-2\le-2\cos^2x\le0\)
\(\Rightarrow2\le-2\cos^2x\le4\)
\(\Rightarrow2\le y\le4\)
\(Vậy\) \(y_{max}=4\)
\(y_{min}=2\)