So this is the equation,

(sin x)^2 = sinx cosx for x lying between 0 and 360 degrees both inclusive.

Solving it, i got the following values for x

x = 0, 45 , 135 , 180 , 225 , 315 , 360

but the correct values for x are x = 0, 45 , 180 , 225 , 360

I dont understand why 135, 315 is not considered as correct .

Nid ur help guys. thnks in advance