Let $f : \mathbb{C}\setminus$ {$0$} $\to \mathbb{C}$ be an analytic function with a simple pole of order $1$ at $0$ with residue $a_1$. Let $g : \mathbb{C} \to \mathbb{C}$ be analytic with $g(0)\neq 0$.calculate for $r>0$
$$\frac{1}{2\pi i} \int_{|z|=r}{f(z)g(z)dz}$$
my thoughts:
the answer will be $Res(f(z)).g(0)$ that is $a_1g(0)$. am I right?