I have to calculate the residuo of $ f(z) $ in $ i\pi $ $$ f(z) = \frac{e^z +1}{sin^2(iz)} $$
I understood it's a 1st order pole, but honestly I'm having trouble calculating this limit:
$$ \lim_{z->i\pi} \frac{e^z +1}{sin^2(iz)} (z-i\pi) $$
Can somebody please help me?