using trapezoidal rule to integrate 3 e^(2 x) from 0 to 5 using 5 intervals