I am studying for exams in complex analysis and taking a look at past papers. This comes up often or an integral of the given function along a certain curve, which is actually the same thing since the residue is all one needs.
Googling this came up but I seem to be unable to go from there.
Thanks in advance!