Ch 10 - ex 48

Aide à la démonstration question a du Pour aller plus loin

Déplacer P à la souris. On peut aussi déplacer A, B ou C.

A = (-0.7009873060648797, 4.071847672778562)
B = (-4, -1.6746403385049364)
C = (8.6, 0.32535966149506346)
a = Segment(A, B)
b = Segment(B, C)
c = Line(C, a)
d = Line(A, b)
D = Intersect(c, d)
e = Segment(D, C)
f = Segment(D, A)
P = (4.0200000000000005, 2.82)
g = Segment(A, P)
h = Segment(P, D)
i = Segment(P, C)
j = Segment(P, B)
A' = Midpoint(A, P)
D' = Midpoint(P, D)
C' = Midpoint(P, C)
B' = Midpoint(B, P)
poly1, e_1, f_1, g_1, h_1 = Polygon(A', D', C', B')
k = Segment(A, A')
l = Segment(A', P)
m = Segment(P, C')
n = Segment(C', C)
p = Segment(P, D')
q = Segment(D', D)
r = Segment(P, B')
s = Segment(B', B)
o = true