Cho phương trình: $\displaystyle \sin x\cos x-\sin x-\cos x+m=0$, trong đó$\displaystyle m$ là tham số thực. Để phương trình có nghiệm, các giá trị thích hợp của m là 
A. $\displaystyle -2\le m\le -\frac{1}{2}-\sqrt{2}$  
B. $\displaystyle -\frac{1}{2}+\sqrt{2}\le m\le 1$ 
C. $\displaystyle 1\le m\le \frac{1}{2}+\sqrt{2}$ 
D. $\displaystyle \frac{1}{2}+\sqrt{2}\le m\le 2$

Các câu hỏi liên quan