A = (-2.2247650373701626, -2.1863494164652217)
B = (2.168657742420265, -2.1960524114069857)
a = -5 (slider from -5 to 5)
f(x) = ((a * x) * exp((-x)))