Misc. example #18 from residues chapter