Question: [For which positive real numbers $a$ and $b$ is
$u(x,y) = \cosh(ax)\sin(by)$
harmonic? When $a$ and $b$ satisfy this condition find a holomorphic function $f(z)$ such that $\Re f = u$]
I got $a=b$ for the condition so that
$u(x,y) = \cosh(ax)\sin(ay)$ and $v(x,y) = -\sinh(ax)\cos(ay) + k$
$f(x,y) = \cosh(ax)\sin(ay) + i(-\sinh(ax)\cos(ay) + k)$
but I cannot form them in terms of $z$
It is $\sin(-iaz)+ik=-\sin(iaz)+ik$ where $z=x+iy$.