cirkel met straal = 1 en diameter = 2

n = 5 (slider from 3 to 100, step 1)
A = (1, 0)
a: (2 * sin(3.141592653589793 / n))
c = Circle(A, a)
M = Intersect(xAxis, yAxis)
d = Circle(M, A)
C, D = Intersect(c, d)
veelhoek1, a_1, d_1, b, e, f, E, B, F = Polygon(A, D, n)
h = Segment(M, A)
p: (n * a_1)
q: p / 2
tekst3: "veelhoek = " + n + "-hoek"
tekst2: "omtrek(veelhoek) / diameter ≈ " + q + ""
tekst1: "omtrek(veelhoek) ≈ " + p + ""