integrate e^{re i theta}-1 / re^(i theta) from 0 to pi