We can use the trig identity:
Then we rewrite and solve for tan:
Now we can apply square root on both sides:
(We use the absolute value because tan^2 only can give possitive results)
Finally, we can use the identity:
Thus:
We are looking for values of sine and cosine that are equal in absolute value. We know that this happens for the first time in pi/4 and happens every pi/2 from there.
Thus, the solutions are: