7 cm

5 cm

1 cm

1 cm

Le volume est donné par la formule}
V = 7cm x 5 cm x hauteur
d'où 
V = 35cm² x hauteur

A = (0, 1)
B = (0, -3)
C = (7, -3)
D = (7, 1)
poly1, a, b, c, d = Polygon(A, B, C, D)
E = (2, 2)
F = (9, 2)
poly2, a_1, e, f, d_1 = Polygon(A, E, F, D)
G = (9, -2)
poly3, f_1, g, c_1, d_2 = Polygon(F, G, C, D)
H = Point(a_1)
I = Point(d)
h = Segment(H, I)
J = (11, -3)
K = (11, -2)
i = Segment(J, K)
L = (12, -2)
j = Segment(K, L)
M = (12, -3)
k = Segment(L, M)
l = Segment(M, J)
poly4, k_1, l_1, m, j_1 = Polygon(K, L, M, J)
K' = Translate(K, (0.5, 0.25))
L' = Translate(L, (0.5, 0.25))
M' = Translate(M, (0.5, 0.25))
J' = Translate(J, (0.5, 0.25))
poly5, k', l', m', j' = Polygon(K', L', M', J')
n = Segment(K, K')
p = Segment(L, L')
q = Segment(M', M)
r = Segment(J', J)
poly6, k'_1, k_2, l_2, l'_1 = Polygon(K', K, L, L')
poly7, l'_2, m'_1, m_1, l_3 = Polygon(L', M', M, L)
u = Vector((0, -5), (0.5, -4.75))
v = Vector((0, -5), (1, -5))
Aire = 35
hauteur = 17.5 (slider from 0 to 20, step 0.1)
vitesse = 5 (slider from 0 to 5, step 0.001)
Volume: Aire * hauteur
texte6: "Si la hauteur est égale à " + hauteur + " cm
alors le volume est donné par
V = " + Aire + "cm² x " + hauteur + " cm
d'où
V = " + Volume + " cm³"
arrêt = 0 (slider from 0 to 1, step 1)
N = (-2, 9)
O = (17, 9)
P = (17, -4)
Q = (-2, -4)
poly8, n_1, o, p_1, q_1 = Polygon(N, O, P, Q)
R = (-2.14, 9.28)
S = (17.26, 9.28)
T = (17.28, -4.18)
U = (-2.16, -4.14)
poly9, r_1, s, t, u_1 = Polygon(R, S, T, U)