One root of the equation cosx−x+12=0 lies in the interval
0,π2
−π2,0
π2,π
π,3π2
Let f(x)=cosx−x+12
We can see that f(0)>0,fπ2<0
⇒fx=0 has atleast one root in 0,π2