fun f = - x^2 / 2 + 5*x; fun g = x^2 - 5*x - 2; fun h = x^2 - 5*x - 82; integrate [f, g, h] between (2 ~ 7);