Đặt \(sinx=t\left(t\in\left[-1;1\right]\right)\)
\(y=\left|sinx+cos2x\right|=\left|2sin^2x-sinx-1\right|\)
\(\Leftrightarrow y=\left|f\left(t\right)\right|=\left|2t^2-t-1\right|\)
\(f\left(-1\right)=2\Rightarrow y=2\)
\(f\left(1\right)=0\Rightarrow y=0\)
\(f\left(\dfrac{1}{4}\right)=-\dfrac{9}{8}\Rightarrow y=\dfrac{9}{8}\)
\(\Rightarrow y_{min}=0;y_{max}=2\)