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