q = 0 (slider from 0 to 4, step 0.1)
f(x) = -x^(2.0) + 3.0 * x - 2.0 + q
g(x) = x^(2.0) - 2.0 * x + 2.0 - 2.0 + q