I'm trying to solve an equation here but unfortunately I can't. The equation: $$ \cos x + \sin x = 0 $$ I'm trying to solve this by replacing $\cos x$ with $(1-t^2)/(1+t^2)$ and $\sin x$ with $2t/(1+t^2), t=\tan x/2, \ $ but I can't get the right solution. Also I have tried by squaring both sides but still nothing.
Can anyone help me ?

