N = 5 (slider from 1 to 100, step 1)
f(x) = x^(3) - x^(2) - x + 2
A = Point(xAxis)
B = Point(xAxis)
minor = LowerSum(f, x(A), x(B), N)
Major = UpperSum(f, x(A), x(B), N)
T1: "a=" + (x(A)) + ""
texte1: "b=" + (x(B)) + ""
texte2: "Somme minorante = " + minor + ""
texte3: "Somme majorante = " + Major + ""
Integ = Integral(f, x(A), x(B))
texte4: "Intégrale =" + Integ + ""