Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to use the trapezoid rule to approximate the following integral: $$\int^{0}_{-2}\frac{1}{4+x^2}dx$$ for a given step $n=5$.

I'm not exactly sure how to do a problem like this.

share|cite|improve this question
What's the formula you're using for the trapezoidal rule, first of all? – J. M. Jul 30 '12 at 10:58
I'm not really sure actually. – user69 Jul 30 '12 at 11:02
First things first: how would you divide the interval $[-2,0]$ into four sub-intervals? (If you have four sub-intervals, you have five points; think of the number of fingers in a hand, and the number of gaps in between the fingers.) – J. M. Jul 30 '12 at 11:18
Still not that. Try an increment of $\frac12$. – J. M. Jul 30 '12 at 11:50
$(-2,-3/2,-1,-1/2,0)$. Five points, four panels. – J. M. Jul 30 '12 at 15:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.