Sans titre

A = (12.278181818181817, 2.807272727272727)
B = (9.714545454545453, -3.6654545454545455)
C = (13.078181818181818, -7.701818181818183)
O = Midpoint(A, C)
D = Mirror(B, O)
poly1, b, c, d, a = Polygon(B, C, D, A)
e = Segment(B, D)
f = Segment(C, A)
g = Distance(b, c)
h = Distance(d, a)
i = Distance(f, e)
texte1: "Somme des carrés des côtés :
AB²+BC²+CD²+AD²
=" + (a^(2)) + "+" + (b^(2)) + "+" + (c^(2)) + "+" + (d^(2)) + "
=" + (a^(2) + b^(2) + c^(2) + d^(2)) + ""
texte2: "Somme des carrés des diagonales :
AC²+BD²
=" + (f^(2)) + "+" + (e^(2)) + "
=" + (f^(2) + e^(2)) + ""
texte3: "AC=" + f + ""
texte4: "BD=" + e + ""
E = (2.678181818181814, -5.210909090909097)
F = (8.09636363636362, -10.738181818181827)
G = (6.623636363636351, -11.447272727272736)
H = (1.2418181818181804, -10.465454545454554)
j = Segment(E, F)
k = Segment(F, G)
l = Segment(G, H)
m = Segment(H, E)
n = Segment(E, G)
p = Segment(H, F)
distanceEF = Distance(E, F)
Midpoint(E, F)
TexteEF: Name[E] + (Name[F]) + " = " + distanceEF
distanceFG = Distance(F, G)
Midpoint(F, G)
TexteFG: Name[F] + (Name[G]) + " = " + distanceFG
distanceGH = Distance(G, H)
Midpoint(G, H)
TexteGH: Name[G] + (Name[H]) + " = " + distanceGH
distanceHE = Distance(H, E)
Midpoint(H, E)
TexteHE: Name[H] + (Name[E]) + " = " + distanceHE
texte5: "EF^2+FG^2+GH^2+HE^2
=" + (LaTeX[distanceEF^(2) + distanceFG^(2) + distanceGH^(2) + distanceHE^(2)]) + ""
distanceEG = Distance(E, G)
Midpoint(E, G)
TexteEG: Name[E] + (Name[G]) + " = " + distanceEG
distanceHF = Distance(H, F)
Midpoint(H, F)
TexteHF: Name[H] + (Name[F]) + " = " + distanceHF
texte6: "EG^2+HF^2=" + (LaTeX[distanceEG^(2) + distanceHF^(2)]) + ""
I = Midpoint(E, G)
J = Midpoint(H, F)