ציבה  כיוון 1

הזיזו את הנקודות A, B, ב' D ו-E, ובדקו את נכונות המשפט.

A = (0, 6.36)
B = (-5.8, -0.7)
C = (2.96, 1.28)
poly1, c, a, b = Polygon(A, B, C)
D = Point(b)
E = Point(c)
d = Segment(C, E)
e = Segment(B, D)
F = Intersect(d, e)
f = Line(A, F)
G = Intersect(f, a)
distanceAD = Distance(A, D)
distanceDC = Distance(D, C)
טקסטDC: "\overline{" + (Name[D]) + (Name[C]) + "} \, = \, " + distanceDC
distanceCG = Distance(C, G)
טקסטCG: "\overline{" + (Name[C]) + (Name[G]) + "} \, = \, " + distanceCG
distanceGB = Distance(G, B)
טקסטGB: "\overline{" + (Name[G]) + (Name[B]) + "} \, = \, " + distanceGB
distanceBE = Distance(B, E)
טקסטBE: "\overline{" + (Name[B]) + (Name[E]) + "} \, = \, " + distanceBE
distanceEA = Distance(E, A)
טקסטEA: "\overline{" + (Name[E]) + (Name[A]) + "} \, = \, " + distanceEA
טקסטAD: "\overline{" + (Name[A]) + "" + (Name[D]) + "} \, = \, " + (LaTeX[distanceAD]) + ""
AD = Distance(A, D)
DC = Distance(D, C)
g: AD / DC * Distance[G, C] / Distance[B, G] * Distance[B, E] / Distance[E, A]
text1: " \frac{ AD }{DC }· \frac{ GC }{BG }· \frac{ BE }{EA }=\frac{" + (LaTeX[distanceAD]) + "}{" + (LaTeX[distanceDC]) + "}·\frac{" + (LaTeX[distanceCG]) + "}{" + (LaTeX[distanceGB]) + "}·\frac{" + (LaTeX[distanceBE]) + "}{" + (LaTeX[distanceEA]) + "}= " + (LaTeX[g]) + " "