f(x)

x

k = -2 (slider from -5 to 5, step 0.1)
A = Point(yAxis)
d1: y(A)
d_1: y(A)
B = Intersect(xAxis, yAxis)
d = Segment(A, B)
A2 = -4
f(x) = d1 + x * k
B2: f(A2)
A3: A2 + 1.0
B3: f(A3)
A4: A3 + 1.0
B4: f(A4)
A5: A4 + 1.0
B5: f(A5)
A6: A5 + 1.0
B6: f(A6)
A7: A6 + 1.0
B7: f(A7)
A8: A7 + 1.0
B8: f(A8)
A9: A8 + 1.0
B9: f(A9)
A10: A9 + 1.0
B10: f(A10)
A11: A10 + 1.0
B11: f(A11)
P_1: (A2, B2)
P_2: (A3, B3)
P_3: (A4, B4)
P_4: (A5, B5)
P_5: (A6, B6)
P_6: (A7, B7)
P_7: (A8, B8)
P_8: (A9, B9)
P_9: (A10, B10)
P_{10}: (A11, B11)
Liste1: {P_1, P_2, P_3, P_4, P_5, P_6, P_7, P_8, P_9, P_{10}}
g: 1.0 y = d_1 + 1.0 x * k
a = Slope(g)