f(x) = exp(-1.0 * 0.5 * x) - 0.5 * x^(2.0)
a = -0.2 (slider from -2 to 2, step 0.1)
g(x) = f'(a) * (x - a) + f(a)
d(x) = f(x) - g(x)