a = 1.9 (slider from -5 to 5)
f(x) = 1 / x
g(x) = If[x ≥ 0, (-x^(2)) + a, 100]