I'm having trouble with the following problem:
$$ \int \frac{z}{(z^2+1)^2}\ dz $$
I need to integrate around the circle centered at the origin with radius 3/2. When I try to solve using the residue theorem, I find that there are two poles of order 2 and +i and -i. However, when finding the residues, I get infinities as z approaches i and -i. How would I solve this?