Tresor
Author: Daniel Mentrard

Mediatriz del árbol y de la torre.

d = 1 (slider from -5 to 5, step 0.1)
r3: round((random() * 10) + 10 + (0 * d))
f = 1 (slider from -5 to 5, step 0.1)
r2: round((random() * 5) + 10 + (0 * f))
e = 1 (slider from -5 to 5, step 0.1)
r1: round((random() * 15) + 18 + (0 * e))
A = (-3.8731331782004887, -0.4187273546393342)
B = Point(Circle[A, r1])
a = Segment(B, A)
c = LineBisector(a)
C = Point(Circle[B, r2])
h = Line(C, a)
g = Circle(C, r3)
D, F = Intersect(g, h)
cible, E = Intersect(g, c)
b = Segment(B, C)
texte3: "El tesoro está a la misma distancia de la torre y del árbol y a " + r3 + " m del pozo."
finished: texte3 ≟ cible
text1: "Círculo de centro el pozo y de radio " + r3