How do you find all solutions of the equation sin theta-1=0?