I forget the name of what I am doing. For a start someone might revive my memory. I need to find the value of a variable by honing in on it. Bounching closer to it with each iteration.
The attached drawing might help. I know the values of the two perimeter lengths P1 and P2. But I need to adjust the P1 circle to get to P2 by adjusting the value of a.
At the moment I have
a=a*(1+(P1-P2)/P1)
but its not getting me there fast enough.