If $z=x+iy$ is the answer of the equation $\cos(z)=-3$. What is the value of $x$?
$1)x=2k\pi-\frac{\pi}2 , k\in \mathbb{Z}$
$2)x=2k\pi+\frac{\pi}2 , k\in \mathbb{Z}$
$3)x=k\pi+\frac{\pi}2 , k\in \mathbb{Z}$
$4)x=k\pi-\frac{\pi}2 , k\in \mathbb{Z}$
I saw a similar question here, and I tried to solve it but I got stock at a point. Here is my try:
$$\cos z=\frac{e^{iz}+e^{-iz}}{2}=-3\Rightarrow e^{iz}+e^{-iz}+6=0$$ After using the substitution $e^{iz}=t$ we get $t^2+6t+1=0$. Hence $e^{i(z+2k\pi)}= -3\pm\sqrt8$ and
$$i(z+2k\pi)=\ln(-3\pm2\sqrt2)$$ From here I don't know how to continue.