n

Écris le nombre de sommets, de faces
 et d'arêtes en fonctions de n.

S=

F=

A=

valider

valider

valider

S_2: (0, 0, -8)
a = 5 (slider from 3 to 20, step 1)
L_{1} = Sequence(Rotate[(0, 3, 0), ((2 * i) * π / a)], i, 1, a)
S_1: (0, 0, 4)
L_2 = Sequence(Rotate[(0, 0, 4), ((2 * i) * π / a)], i, 1, a)
Base_1 = Polygon(L_{1})
Base_2 = Polygon(L_2)
poly1, f, g, h = Polygon(Element[L_{1}, a], S_1, Element[L_{1}, 1])
L_3 = Sequence(Polygon[Element[L_{1}, i], S_1, Element[L_{1}, i + 1]], i, 1, a - 1)
L_4 = Insert(poly1, L_3, a)
L_5 = Sequence(Rotate[(0, 3, -4), ((2 * i) * π / a)], i, 1, a)
poly2, i, j, k = Polygon(Element[L_5, a], S_2, Element[L_5, 1])
L_6 = Sequence(Polygon[Element[L_{1}, i], Element[L_5, i], Element[L_5, i + 1], Element[L_{1}, i + 1]], i, 1, a - 1)
L_8 = Sequence(Polygon[Element[L_5, i], S_2, Element[L_5, i + 1]], i, 1, a - 1)
L_9 = Insert(poly2, L_8, a)
poly3, l, m, p, q = Polygon(Element[L_{1}, a], Element[L_5, a], Element[L_5, 1], Element[L_{1}, 1])
L_7 = Insert(poly3, L_6, a)
sommets(n) = (2 * n) + 2
faces(n) = (3 * n)
aretes(n) = (5 * n)
nulle(n) = 0
rep1(n) = 0
rep2(n) = 0
rep3(n) = 0
ChampTexte1 = Textfield(rep1)
ChampTexte2 = Textfield(rep2)
ChampTexte3 = Textfield(rep3)