Théorème de la médiane
Author: Yvan Monka - m@ths et tiques 2013

MA²=

MB²=

MA²+MB²=

MI²=

AB²=

2MI²+AB²/2=

A = (0.2636363636363638, 0.7054545454545449)
B = (5.04, 1.12)
M = (3.481818181818183, 4.450909090909091)
poly1, c, a, b = Polygon(A, B, M)
I = Midpoint(c)
d = Segment(M, I)
e = Segment(A, I)
f = Segment(I, B)
g = Segment(A, M)
h = Segment(M, B)
MA = Distance(M, A)
B1: MA^(2)
MB = Distance(M, B)
B2: MB^(2)
B3: B1 + B2
MI = Distance(M, I)
B5: MI^(2)
AB = Distance(A, B)
B6: AB^(2)
B7: 2 * B5 + B6 / 2