A = (1.5, -1.5)
B = (3.039754873934434, -2.5668484380231336)
C = (6, -1.5)
D = (9, 1)
E = (7, 3.5)
F = (2.5, 5)
G = (0.5, 0.5)
Poly7, a, b, c, d, e, f, g = Polygon(A, B, C, D, E, F, G)
Z = (3, 3)
u = Vector(Z, A)
v = Vector(Z, B)
w = Vector(Z, C)
h = Vector(Z, D)
i = Vector(Z, E)
j = Vector(Z, F)
k = Vector(Z, G)
AB: {{x(u), x(v)}, {y(u), y(v)}}
dab: (Determinant[AB] * 1 / 2)
BC: {{x(v), x(w)}, {y(v), y(w)}}
CD: {{x(w), x(h)}, {y(w), y(h)}}
DE: {{x(h), x(i)}, {y(h), y(i)}}
EF: {{x(i), x(j)}, {y(i), y(j)}}
FG: {{x(j), x(k)}, {y(j), y(k)}}
GA: {{x(k), x(u)}, {y(k), y(u)}}
dbc: (Determinant[BC] * 1 / 2)
dcd: (Determinant[CD] * 1 / 2)
dde: (Determinant[DE] * 1 / 2)
def: (Determinant[EF] * 1 / 2)
dfg: (Determinant[FG] * 1 / 2)
dga: (Determinant[GA] * 1 / 2)
siebeneck: dab + dbc + dcd + dde + def + dfg + dga
Text1: "siebeneck=" + siebeneck + ""
Text2: "7-Polygon=" + Poly7 + ""
hoch = 7
S: (x(Z), y(Z), hoch)
Pyra, FlächeABS, FlächeBCS, FlächeCDS, FlächeDES, FlächeEFS, FlächeFGS, FlächeAGS, KanteAS, KanteBS, KanteCS, KanteDS, KanteES, KanteFS, KanteGS = Pyramid(Poly7, S)
m = Segment(S, Z)
O = (0, 0, 0)
Text3: "hoch=" + hoch + ""
H = (4.803795021173375, -5.660188608562063)
I = (7.390856472774888, -5.660188608562063)