uvmat.dk/pmh/Tema/gylden.htm

A = (2, 1)
B = (4, 1)
C = (4, 3)
D = (2, 3)
a = Segment(A, B)
b = Segment(B, C)
c = Segment(C, D)
d = Segment(D, A)
E = Midpoint(A, B)
e = Circle(E, C)
f = Ray(A, B)
F = Intersect(e, f, 1)
afstandAF = Distance(A, F)
TekstAF: "\left| " + (Name[A]) + (Name[F]) + "\right| = " + afstandAF
afstandAB = Distance(A, B)
TekstAB: "\left| " + (Name[A]) + (Name[B]) + "\right| = " + afstandAB
Forhold: afstandAF / afstandAB