How to do trapezoid rule approximation of integral of sec xdx from -1 to 1 and n= 4? Also what is the error bound? Thanks.
Should be everything you need here:
Trapezoidal rule - Wikipedia, the free encyclopedia
So what you do is decide how many trapezoids to divide your integral into (the more trapezoids, the more accurate your answer will be, but then the more work you have to do). At each of these points on the interval, calculate sec x. Then just feed those numbers into the "composite trapezoidal rule" equation.