Mandelbroth said:
I've never thought of that, so I've learned something new today.
We need to try one in case the reader is not sure how to do this. Let's take:
$$f(z,w)=z-w(w-1)^2(w-2)^3(w-(1+i))^4=0$$
And in order to extract the fourth-order root, we will integrate over the 4-cycle branch corresponding to this root, the ##w_{4,1}## branch, along an ##8\pi## circular path say midway the distance to the nearest singular point of ##f(z,w)## which in this case is about 0.026 so let's let ##z=0.01 e^{it}## Then we have:
$$\frac{dw}{dt}=-\frac{\frac{df}{dz}}{\frac{df}{dw}}\frac{dz}{dt}=g(z,w)$$
Then we solve the IVP:
$$\frac{dw}{dt}=g(z,w),\quad w(0)=w_{4,1}(0.01)$$
where ##w_{4,1}(0.01)## means we are starting the integration on one of the determinations of this 4-cycle branch..
We integrate that numerically and obtain the (numeric) function ##w_{4,1}##.
Then we would integrate:
$$\frac{1}{8\pi i}\oint \frac{w_{4,1}(t)}{z(t)}z'(t) dt$$
and when I solve the IVP for each determination of that branch, and solve that integral numerically, I get four values very close to ##1+i##.
Now, if I've explained that well, the reader can now write Mathematica code to extract the third-order root. It should only take about 10 lines of code. You would of course have to find which of the 10 determinations of the function correspond to the 3-cycle branch but you can just integrate over all of them; three results should be very close to 2.