Applications of residues 3