Suppose that cosx=0, so that we can divide both sides by cosx to obtain
This equation has the solutions x=3+n for all integers n.
If, on the other hand, cosx=0, then sinx=1 (draw a unit circle) and the equation cannot have such a solution.
Thus, the equation has the solutions