complex analysis is used to find residues