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.
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.
http://www.ugrad.math.ubc.ca/coursedoc/math101/notes/techniques/numerical.html, check if it helps..