How do you solve the equation sin^2theta-sintheta=0 for [0,2pi)?