using trapezoidal rule to integrate x^4 from 2 to 6 using 5 intervals