If 0≤x≤2π and cosx≤sinx, then
x∈0,π4
x∈π4,2π
π4,3π4
0,π
We have cosx≤sinx⇒sinx≥0∵cosx≥0
⇒x∉π,2π
If x∈(0,π2], then cosx≤sinx⇒cosx≤sinx ⇒x∈π4,π2
If x∈π2,π, then cosx≤sinx⇒-cosx≤sinx ∵cosx is negative ⇒tanx≤-1 ⇒x∈π2,3π4 ∴x∈π4,3π4