\text{Postup

3. \; \text{ Hranol }H^*=ABC...;\text{ pre výšku zadajte: }k* AB

4.  \; \text{Upravte označenia v hornej podstave na }A',B',...

N = 5 (slider from 1 to 6, step 1)
k = 1 (slider from 0.5 to 1.5, step 0.1)
text1: "\text{Pravidelný }" + (LaTeX[N]) + "\text{-boký hranol }ABC... \text{, v ktorom výška }v=\left| AD \right| =" + (LaTeX[k]) + " \left| AB \right| ."
A = (4, -4, 0)
B = (6, 3, 0)
a1: x(A)
a2: y(A)
b1: x(B)
b2: y(B)
text3: "1. \; \text{Zvolíme } A(" + (LaTeX[a1]) + "," + (LaTeX[a2]) + ",0),B(" + (LaTeX[b1]) + "," + (LaTeX[b2]) + ",0)∈ π  "
text4: "2. \; \text{Pravidelný } " + (LaTeX[N]) + "\text{ - uholník }ABC... "