x_s = -1.5 (slider from -5 to 5, step 0.1)
f(x) = (x - x_s)^(2.0)
g(x) = x^(2.0)