$xPx$

n

a_n =

nMin

nMax

dn

a

dx = 1 (slider from -5 to 5)
f(n) = (n * 0.5)
xmin = 0 (slider from -5 to 5)
xmax = 10 (slider from -5 to 10)
W = Sequence(f(i), i, xmin, xmax, dx)
W0 = Remove(W, {Infinity})
W2 = RemoveUndefined(W0)
a = 0
WT = Sequence({i, f(i)}, i, xmin, xmax, dx)
ymin0 = Min(W)
ymax0 = Max(W2)
Px: (a, 0)
P: (a, f(a))
Py: (0, f(a))
g = Segment(Px, P)
u = Vector(P, Py)
Text3: "" + (x(Px)) + ""
Text4: "" + (y(Py)) + ""
pos = If(a < 0, ((xmax - xmin) / 15, 0), Vector[(-((xmin - xmax) / 100, 0))])
WText = Insert({{"n", "a_n"}}, WT, 1)
Text2 = TableText(WText, "v|_ll")
b = 0 (slider from xmin to xmax, step dx)
ma = 1 (slider from -5 to 5)
Eingabefeld1 = Textfield(f)
Eingabefeld2 = Textfield(xmin)
Eingabefeld3 = Textfield(xmax)
Eingabefeld4 = Textfield(dx)
W1 = RemoveUndefined(W0)
xmin0 = If(xmin ≥ 0, -1, xmin)
xmax0 = If(xmax ≤ 0, 1, xmax + 1)
Text1: "\left(a_n\right): " + (LaTeX[a]) + " \rightarrow " + (LaTeX[f(a)]) + ""
ymax = If(ymax0 < 1, 1, ymax0 + ymax0 / 10)
Setze = 1 (slider from -5 to 5)
ymin = If(ymin0 > -1, (-(ymax0 / 10)), ymin0 + ymin0 / 10)