integ max(x, x^2) dx