integrate using midpoint method x^2 e^(-x) from 1 to infinity