Đặt \(sinx=t\Rightarrow t\in\left[-1;1\right]\)
Pt trở thành:
\(t^2-2t+3-m=0\)
\(\Leftrightarrow t^2-2t+3=m\)
Xét \(f\left(t\right)=t^2-2t+3\) trên \(\left[-1;1\right]\)
\(-\frac{b}{2a}=1\) ; \(f\left(-1\right)=6\) ; \(f\left(1\right)=2\)
\(\Rightarrow2\le f\left(t\right)\le6\)
\(\Rightarrow2\le m\le6\)