integrate x^n with respect to x