n

y_n

b = 5 (slider from -5 to 5, step 0.1)
a = -0.8 (slider from -5 to 5, step 0.1)
G: b / (1 - a)
f: y = G
A = Point(yAxis)
A2: 0
B2: y(A)
A3: A2 + 1
B3: (a * B2) + b
A4: A3 + 1
B4: (a * B3) + b
A5: A4 + 1
B5: (a * B4) + b
A6: A5 + 1
B6: (a * B5) + b
A7: A6 + 1
B7: (a * B6) + b
A8: A7 + 1
B8: (a * B7) + b
A9: A8 + 1
B9: (a * B8) + b
A10: A9 + 1
B10: (a * B9) + b
A11: A10 + 1
B11: (a * B10) + b
A12: A11 + 1
B12: (a * B11) + b
A13: A12 + 1
B13: (a * B12) + b
A14: A13 + 1
B14: (a * B13) + b
A15: A14 + 1
B15: (a * B14) + b
A16: A15 + 1
B16: (a * B15) + b
A17: A16 + 1
B17: (a * B16) + b
A18: A17 + 1
B18: (a * B17) + b
A19: A18 + 1
B19: (a * B18) + b
A20: A19 + 1
B20: (a * B19) + b
A21: A20 + 1
B21: (a * B20) + b
A22: A21 + 1
B22: (a * B21) + b
B: (A2, B2)
C: (A3, B3)
D: (A4, B4)
E: (A5, B5)
F: (A6, B6)
H: (A7, B7)
I: (A8, B8)
J: (A9, B9)
K: (A10, B10)
L: (A11, B11)
M: (A12, B12)
N: (A13, B13)
O: (A14, B14)
P: (A15, B15)
Q: (A16, B16)
R: (A17, B17)
S: (A18, B18)
T: (A19, B19)
U: (A20, B20)
V: (A21, B21)
W: (A22, B22)
g = PolyLine({B, C, D, E, F, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W})
Text1: "G = \frac b {1-a} \approx " + (LaTeX[b / (1 - a)]) + ""