This question was asked in Ex 6.2,3
Value of cos x at π/2 is 0 so how it become greater than 0 and become increasing function. 
Honey Jomy's image