derivative of 1/(2*pi*i)*(-a*0.5*(z-1)*log((z-1)/(z+1))+b*0.5*(z+1)*log((z-1)/(z+1))) wrt z