OO = -4 (slider from -15 to 5, step 0.1)
c = 10 (slider from -8 to 12, step 0.1)
pente = 3 (slider from -10 to 10, step 0.1)
g(x) = (pente * x) + OO + c
f(x) = (3 * x^(2)) - (10 * x) + c
A = Intersect(f, g, 1)
B = Intersect(f, g, 2)
texte1: "a =" + (x(A)) + ""
B1 = NaN
texte2: "b =" + (x(B)) + ""
airefg = IntegralBetween(g, f, x(A), x(B))
texte3: "Aire entre f et g =" + airefg + ""
h(x) = g(x) - f(x)
aireh = Integral(h, x(A), x(B))
texte4: "Aire entre h et l'axe des abscisses = " + aireh + ""