The equation (cos p - 1)x2 + (cos p)x + sin p = 0 in variable x has real roots, if p belongs to the interval
(cos p - 1)x2 + (cos p)x + sin p = 0 .....(1)
Discriminant of (1) is given by D = cos2 p - 4 (cos p - 1)sin p = cos2 p + 4 (1 - cos p) sin p
Note that cos2 p≥0,1 −cos p≥0. Thus, D≥0 if sin p≥0 i.e if pϵ(0,π)