La Serie Geométrica

=\frac{1}{1-x}

Si -1<x<1

\sum_{n=0}^{∞ }{x^{n} }

k = 2 (slider from 0 to 100, step 1)
geometrica = Sequence(If[-1 < x < 1, x^(n)], n, 0, k)
a = Sum(geometrica)
f(x) = 1 / (1 - x)
texto1: "\sum_{n=0}^{" + (LaTeX[k]) + "}{x^{n} }"