Artificial intelligent assistant

Use Residue Theorem to evaluate $ \ \oint_{C_3 (0)} \frac{z+7}{z^4 + z^3 - 2 z^2}\,dz \ $? How do I use Residue Theorem to evaluate $ \ \oint_{C_3 (0)} \frac{z+7}{z^4 + z^3 - 2 z^2}\,dz \ $ where $C_3(0)$ is the circle of radius 3 centered at the origin, oriented in the counter- clockwise direction. This seems to be a very complicated case, any ideas?

Well, let's begin by identifying the poles of the function. First the denominator factors as $$z^2(z^2 + z - 2) = z^2(z+2)(z-1)$$ We can partial fraction to decompose the integral into $$\oint_{C_3(0)}-\frac{7}{2z^2} -\frac{9}{4z} - \frac{5}{12(z+2)} + \frac{8}{3(z-1)}\ \rm dz$$ We can easily read off the residuals here $$\sum\operatorname{Res}(f,\ \alpha)=-\frac{9}{4}-\frac{5}{12} + \frac{8}{3} = 0$$

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 8ea33e2f0eab52f170ae11a70dce4422