\bar{x}=\vert_0^1\frac{x^3}{3}+\vert_1^2(x^2-\frac{x3}{3})