What is the integral of $$\int_{\Gamma}\pi e^{\pi\bar{z}}dz$$ where $\Gamma$ is the square with vertices at $0,1,1+i,i$ oriented anticlockwise?
I am badly stuck at this problem. I thought of using the Residue theorem by using $\bar{z}=\frac{|z|^2}{z}$, but we get an essential singularity. Using Laurent series about zero, I get $a_{-1}=\pi|z|^2$. Is this correct? how do we proceed? Any hints. Thanks beforehand.
In addition to José Carlos Santos' answer, we can also utilize Green's theorem:
\begin{align*} \int_{\gamma} \pi e^{\pi \bar{z}} \, dz &= \int_{\gamma} \left( \pi e^{\pi \bar{z}} \, dx + i\pi e^{\pi \bar{z}} \, dy \right) \\ &= \int_{[0,1]^2} \left( \frac{\partial}{\partial x} i\pi e^{\pi \bar{z}} - \frac{\partial}{\partial y} \pi e^{\pi \bar{z}}\right) \, dxdy \\ &= 2\pi^2 i \int_{[0,1]^2} e^{\pi x}e^{-i\pi y} \, dxdy \\ &= 4(e^{\pi} - 1). \end{align*}