The outer two points (of the four end points) are found by
2x = x^2 + Ax + B
x^2 + (A2)x + B = 0
The inner two points (defining the gap between the arcs) is given by
x = x^2 + Ax + B
x^2 + (A1)x + B = 0
One arc extends from x = (2A  sqrt((A2)^2  4B)) / 2 to (1A  sqrt((A1)^2  4B)) / 2 and the other from (1A + sqrt((A1)^2  4B)) / 2 to (2A + sqrt((A2)^2  4B)) / 2
R = (2A + sqrt((A2)^2  4B)) / 2  (1A + sqrt((A1)^2  4B)) / 2
L = (1A  sqrt((A1)^2  4B)) / 2  (2A  sqrt((A2)^2  4B)) / 2
R  L = 2(2A)/2  2(1A)/2 = 2A  (1A) = 1
The answer should be 1.

Posted by Charlie
on 20160523 15:29:15 