\[|\cos z|=({\cos}^{2}x+{\sinh}^{2}y)^{1/2}=\left(\tfrac{1}{2}(\cosh\left(2y%
\right)+\cos\left(2x\right))\right)^{1/2},\]