3)ĐK:sin x+cos x+2\neq0(luôn đúng)y=\frac{cos x+2}{sin x+cos x+2}\Leftrightarrow y.sin x+(y-1) cos x+2y-2=0(1)
(1) có nghiệm\Leftrightarrow y^{2}+(y-1)^{2}\geq (2-2y)^{2}
\Leftrightarrow 2y^{2}-6y+3\leq0
\Leftrightarrow \frac{3-\sqrt{3}}{2}\leq y\leq \frac{3+\sqrt{3}}{2}
Bạn tự tìm dấu ''='' xra cho Min,Max nha:D