Le curseur “Bougies” permet de faire varier le nombre 
de bougies fabriquées par l'entreprise

f(x) = If[0 ≤ x ≤ 600, (0.04 * x^(2)) + (3.26 * x) + 2460.61]
g(x) = If[0 ≤ x ≤ 600, (28.5 * x)]
Bougies = 170 (slider from 0 to 1000, step 1)
lots = 1 (slider from -5 to 5)
A: (Bougies, (0.04 * Bougies^(2)) + (3.26 * Bougies) + 2460.61)
B: (Bougies, (28.5 * Bougies))
h = Segment(B, A)
distanceBA = Distance(B, A)
Benef: (-0.04 * Bougies^(2)) + (25.24 * Bougies) - 2460.61
texte1: "AB = " + Benef + ""