Am I right to assume that
$$\bar{y} = \frac{{\int_{x_0}^{x_1} f(x) dx - \int_{x_0}^{x_1} g(x) dx}} {x_1 - x_0}$$ where f(x) and g(x) are two polinomials, not crossing each other in this range, and y bar is the average height of the area between the two curves? If not, why? What would be the average height then?