solve the equation $\cos{z}=\sqrt{2}$ for z
i am making a mistake somewhere, here is my attempt $$z=-i\log({\sqrt{2}+i(1-2)^{1/2})}$$$$z=-i\log(\sqrt{2}-1)$$$$z=-i[\ln(\sqrt{2}-1)+i(2n\pi)]$$$$z=2n\pi + -i\ln(\sqrt{2}-1)$$
solve the equation $\cos{z}=\sqrt{2}$ for z
i am making a mistake somewhere, here is my attempt $$z=-i\log({\sqrt{2}+i(1-2)^{1/2})}$$$$z=-i\log(\sqrt{2}-1)$$$$z=-i[\ln(\sqrt{2}-1)+i(2n\pi)]$$$$z=2n\pi + -i\ln(\sqrt{2}-1)$$
$$ \cos(x+iy) = \cos x\cosh y - i\sin x\sinh y$$
so we have $$ \cos x \cosh y = \sqrt{2} \\ \sin x \sinh y = 0$$
If $\sinh y = 0$ then $\cosh y = 1$ and $\cos x = \sqrt{2}$ which yields no solution, so $\sin x = 0$
Furthermore, $\cosh y \ge 0$, so $\cos x \ge 0$ or $\cos x = 1$ which means $x = 2n\pi$
This leaves $\cosh y = \sqrt{2}$ or $y = \pm\ln (\sqrt{2} + 1)$, so the solution is
$$ z = 2n\pi \pm i \ln (\sqrt{2} + 1) $$
I am not quite following you in your work. Here is a set up: With $cos^2z+sin^2z=1$ we find $sinz=\pm{i}$. Now use identity $e^{iz}=cosz+isinz$ with the given info of $cosz$ and $sinz$. One solution would be $e^{iz}=\sqrt{2}+1$ from which you can take the $ln$ to find $iz=ln(\sqrt{2}+1)$ and that you can solve for $z$ by multiplying both sides by $-i$. Can you find the other solution? Also beware of the multiplicities.