Author: Paolo Urbani

x_{inf}

x_{sup}

f(x)

x_{sup} = 4 (slider from 0 to 8, step 1)
x_{inf} = -4 (slider from -8 to 0, step 1)
A: (x_{inf}, 0)
f(x) = 0.2 * x^(2) + 1
C = Point(xAxis)
a = Ray(A, C)
B: (x_{sup}, 0)
n = 30 (slider from 1 to 100, step 1)
S_s = UpperSum(f, x(A), x(B), n)
I = Integral(f, x(A), x(B))
S_i = LowerSum(f, x(A), x(B), n)
T2: "b = " + (x(B))
T3: "Somma superiore = " + S_s
T4: "Integrale = " + I
T5: "Somma inferiore = " + S_i
F(x) = (x * (x^(2) + 15)) / 15
T6: "Per la R. di Barrow: F(b)-F(a) =" + (F(x(B))) + " - " + (F(x(A))) + " = " + (F(x(B)) - F(x(A)))
campo1 = Textfield(x_{inf})
campo2 = Textfield(x_{sup})
testo1 = LaTeX(f, true, true)
testo2 = LaTeX(F, true, true)
campo3 = Textfield(f)