res sin(pi z)/((z^2-1)^2)

Input interpretation

residues | sin(π z)/(z^2 - 1)^2