(1) If two circles touch each other externally, the distance between their centres is equal
to the sum of their radii. [d = R + r]
(2) If two circles touch each other internally, the distance between their centres is equal
to the difference of their radii [d = R – r]

Touching Circles

designed by
Tharanath

a = 8 (slider from 2 to 8, step 0.1)
b = 5.2 (slider from 1 to 8, step 0.1)
A = (0.2668568388110134, -0.5106209061405991)
B = Point(Circle[A, a])
c = Segment(A, B)
C = Point(Circle[A, b])
d = Segment(A, C)
e = Circle(A, B)
f = Circle(C, B)
g = Segment(A, C)
h = Segment(C, B)
text2: "Radius of the Big Circle =R=AB = " + c + ""
text3: "Radius of small Circle =r= CB =" + h + ""
text1: "Distance between Centers =R±r= AC=" + g + ""