Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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|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. en.wikipedia.org/wiki/Trapezoidal_rule –  Kudla69 Jul 30 '12 at 11:02
1  
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
1  
Still not that. Try an increment of $\frac12$. –  J. M. Jul 30 '12 at 11:50
1  
$(-2,-3/2,-1,-1/2,0)$. Five points, four panels. –  J. M. Jul 30 '12 at 15:00

1 Answer 1

Your Answer

 
discard

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.