Določeni integral razlike funkcij f(x) in g(x) od a do b

f(x) = 2.0^(x) + sin(x)
g(x) = (x + 2.0) * (x - 4.0) * x / 7.0 + 1.0
A = Intersect(f, g, (-2.569395507107848, -0.373005750807799))
B = Intersect(g, f, (1.6980398910825803E-9, 0.999999998059383))
a: x(A)
b: x(B)
int = Integral(g, f, a, b)
intF = Integral(f, a, b)
intG = Integral(g, a, b)
intR: intG - intF