s

1

z/n von s

s = 10 (slider from 0 to 12, step 1)
A = (0, 0)
n = 10 (slider from 0 to 20, step 1)
B: (s, 0.0)
sn = Segment(A, B)
v = (2, 1)
v_0 = UnitVector(v)
z = 8 (slider from 0 to 10, step 1)
C: A + v_0
E: A + n * v_0
F: A + z * v_0
Liste1 = Sequence(A + i * v_0, i, 1.0, n)
a = Line(E, B)
b = Line(F, a)
sz = Segment(A, E)
d = Segment(A, F)
e = Ray(A, B)
T = Intersect(b, e)
Bruchteil = Segment(A, T)
Text1: " \frac{ z}{n}=  \frac{" + z + "}{" + n + "} = " + (z / n)
Text2: " \frac{ z}{n}\; von\;  s\; =\; \frac{" + z + "}{" + n + "}\; von\; " + s + "\; =\; " + (s * z / n)