A = (1, 1)
Base = 2 (slider from 1 to 10, step 1)
B: (x(A) + Base, y(A))
poly1, a, b, c, d, C, D = Polygon(A, B, 4)
Hauteur = 3 (slider from 1 to 10, step 1)
e, E, faceABE, faceBCE, faceCDE, faceADE, arêteAE, arêteBE, arêteCE, arêteDE = Pyramid(poly1, Hauteur)
texte2: "Volume = " + e + " cm³"
texte1: "Base = " + Base + " cm
Hauteur = " + Hauteur + " cm"
f = Segment(D, B)
g = Segment(A, C)
F = Intersect(f, g)
h = Segment(F, E)