f

b = 10
a = -1 (slider from -5 to 5, step 0.1)
f(x) = 3 * x - (x - 2)^(3) + x^(4) / 20
g = Function(f, a, b)
e = Integral(f, a, b)