Let $C$ is positive oriented $|z|=1/2$ circle.
Calculate $\int_C \frac{e^{1/z^2}}{z-1}dz$
I think I can solve it via using residue. The only singular point is $0$ in there. Should I write Laurent series of $e^{1/z^2}$ in $1<|z-1|< \infty $ neighborhood?
Last, if the circle were $|z|=1$ what should I do in that situation?
Thanks in advance
Since$$\frac{e^{\frac1{z^2}}}{1-z}=\left(1+\frac1{z^2}+\frac1{2!z^4}+\frac1{3!z^6}+\cdots\right)(1+z+z^2+z^3+\cdots)\tag1$$and since the residue of $\frac{e^{\frac1{z^2}}}{1-z}$ at $0$ is the coefficient of $\frac1z$ that you get multiplying the series from $(1)$, then that residue is equal to$$1+\frac1{2!}+\frac1{3!}+\cdots=e-1.$$Therefore, your integral is equal to $2\pi i(e-1)$.