Should be everything you need here:
Trapezoidal rule - Wikipedia, the free encyclopedia
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.