9 GM 32 c) : Périmètre
Author: Frédéric Chanez

Côté d'un triangle = 12 cm : 3 = 4 cm
Périmètre du losange = 4 * 4 cm = 16 cm

Corrigé c)

A = (1, 3)
B = (5, 3)
a = Segment(A, B)
c = Circle(B, A)
d = Circle(A, B)
C = Intersect(c, d, 1)
b = Segment(A, C)
e = Segment(C, B)
D = Intersect(c, d, 2)
f = Segment(A, D)
g = Segment(D, B)
poly1, b_1, d_1, a_1 = Polygon(D, A, B)
poly2, b_2, a_2, c_1 = Polygon(A, C, B)
h = 5 (slider from 0 to 5, step 1)
poly3, d_2, a_3, c_2, b_3 = Polygon(D, A, C, B)
i = Segment(A, B)
E = (1, -5)
F = (4, -5)
G = (7, -5)
H = (7, -11)
I = (4, -11)
J = (1, -11)
poly4, e_1, f_1, i_1, j = Polygon(E, F, I, J)
poly5, f_2, g_1, h_1, i_2 = Polygon(F, G, H, I)
k = 5 (slider from 3 to 5, step 1)
K = Intersect(j, e_1)
L = Intersect(g_1, f_2)
M = Intersect(h_1, g_1)
N = Intersect(j, i_1)
poly6, k_1, l, m, n = Polygon(K, L, M, N)
O = (0, -14)
P = (0, -20)
p = Segment(O, P)
Q = Point(p)
poly7, o, q, r, s, R, S = Polygon(O, Q, 4)
T = (15, -20)
t = Segment(P, T)
j_1 = Line(Q, t)
l_1 = OrthogonalLine(T, t)
U = Intersect(j_1, l_1)
m_1 = Segment(R, U)
n_1 = Segment(T, U)
p_1 = Segment(P, Q)
u = false
poly8, o_1, s_1, r_1, u_1, t_1, p_2 = Polygon(O, S, R, U, T, P)
q_1 = Segment(Q, R)
V = Intersect(p, t)
W = Intersect(p, s)
Z = Intersect(s, r)
A_1 = Intersect(r, q)
B_1 = Intersect(m_1, n_1)
C_1 = Intersect(t, n_1)
poly9, v, w, z, a_4, b_4, c_3 = Polygon(V, W, Z, A_1, B_1, C_1)