use left hand end point method x^2 e^x from 0 to 1