integrate x^2 using trapezoidal rule with 5 intervals from 1 to 2