termos

Progressão aritmética de razão r

u_1 = -3.4 (slider from -5 to 5, step 0.1)
r = 0.5 (slider from -5 to 5, step 0.1)
n = 1 (slider from 1 to 50, step 1)
u_n: u_1 + (n - 1.0) * r
A: (u_n, 0.0)
s: u_1 * n + n * (n - 1.0) * r / 2.0
texto1: "u_n=u_1+(n-1) r=" + u_n
texto2: "S_n=  n u_1+r \frac{n(n-1)}{2} =" + s
texto3: "Soma dos primeiros n =" + n