base (from 1 to 5)

height (from 1 to 5)

a =

H =

c = 4.9 (slider from 1 to 5)
b = 2.4 (slider from 1 to 5)
a_{1}, tahk1, tahk2, tahk3, tahk4, tahk5, a, serv2, serv3, serv4, serv5, serv6, serv7, serv8 = Pyramid(((-b), 0, 0), (0, (-b), 0), (b, 0, 0), (0, b, 0), (0, 0, c))
A = Intersect(serv2, serv3)
B = Intersect(a, serv5)
f = Segment(A, B)
C = Intersect(serv4, serv8)
D = Intersect(a, serv6)
g = Segment(C, D)
E = Intersect(g, f)
F = Intersect(serv5, serv6)
H = Segment(F, E)
i = Segment(F, E)
j = Segment(D, C)
k = Segment(A, B)
tekstiväli1 = Textfield(b)
tekstiväli2 = Textfield(c)