I am trying to solve the question:
$\cos{z}+\sin{z}=2$
Where $z \in \mathbb{C}$
I think I know how to solve $\cos{z}+\sin{z}=-1$:
$1+2\cos^2{\frac{z}{2}}-1+2\sin \frac{z}{2}\cos{\frac{z}{2}}=0\\ 2\cos{\frac{z}{2}}(\cos{\frac{z}{2}}+\sin{\frac{z}{2}})=0$
etc... (that is, if the double angle identity holds true when the 'angle' is a complex number - I might be wrong about this)
My other methods involve:
trying to substitute $\cos{z}=\frac{e^{iz}+e^{-iz}}{2}$ and $\sin{z}=\frac{e^{iz}-e^{-iz}}{2i}$. This seems to be the most obvious method, but I can't work out the next step after $$e^{iz}-e^{-iz}+(e^{iz}+e^{-iz})i=4i$$
substituting $2=2(\sin^2{z}+\cos^2{z})$
substituting $\sin{z}=\cos(\frac{\pi}{2}-z)$ (again, not really sure if this can be done)

Recall that the addition formula for cosines reads $$\cos(z+z')=\cos z\cos z'-\sin z\sin z',$$ and that, for $z'=-\pi/4$, one gets $$\cos(z-\pi/4)=(\cos z+\sin z)/\sqrt2.$$ Hence the equation to be solved is $$\cos(z-\pi/4)=\sqrt2.$$ To go further, consider $$u=\mathrm e^{\mathrm i(z-\pi/4)},$$ then $u\ne0$ and the equation above reads $$u+u^{-1}=2\sqrt2,$$ that is, $$u^2-2\sqrt2u+1=0=(u-\sqrt2)^2-1,$$ that is, $$u=\sqrt2\pm1.$$ Thus, the complex number $$\mathrm i(z-\pi/4)-\log(\sqrt2\pm1)$$ must be a multiple of $2\mathrm i\pi$, that is, finally, and since $\sqrt2\pm1$ are respective inverses, $$z=\pm\mathrm i\log(\sqrt2+1)+\pi/4+2n\pi,\qquad n\in\mathbb Z.$$ Note that here, $\log$ is the usual function logarithm defined on the positive real half-line.