Câu hỏi:
GTLN, GTNN của hàm số \(y=2-\cos x\)là:
Phương pháp giải:
Tập giá trị của hàm số \(y=\sin x,y=\cos x\)là: \(-1\le \sin x\le 1\,\,;\,\,-1\le \cos x\le 1\)
Lời giải chi tiết:
Ta có: \(-1\le \cos x\le 1\Leftrightarrow -1\le -\cos x\le 1\Leftrightarrow 1\le 2-\cos x\le 3.\)
Vậy \(\max y=3,\min y=1.\)
Chọn C.