Ch10 - Exercice 119

Afficher les triangles AMB, BMC et CMA

A = (0, 0)
B = (10, 0)
poly1, a, b, c, C = Polygon(A, B, 3.0)
M = (2.8349506346967566, 1.1571791255289132)
d = OrthogonalLine(M, b)
e = OrthogonalLine(M, a)
f = OrthogonalLine(M, c)
E = Intersect(d, b)
D = Intersect(e, a)
F = Intersect(f, c)
g = Segment(F, M)
h = Segment(M, E)
i = Segment(M, D)
j = Distance(g, h)
s: g + h + i
α = Angle(B, D, M)
β = Angle(M, F, C)
γ = Angle(C, E, M)
texte2: "Somme des distances = " + g + " + " + h + " + " + i
texte3: " = " + s
poly2, b_1, a_1, m = Polygon(A, M, B)
poly3, c_1, m_1, b_2 = Polygon(M, B, C)
poly4, m_2, c_2, a_2 = Polygon(C, A, M)
k = false