Say I have to use trapezoidal rule with 4 equal subdivisions to estimate:
Integral of f(t) from 5 to 7.
I would do this:
(7-5)/(2*4) * ( f(5) + 2f(5.5) + 2f(6) + 2f(6.5) + f(7) )
because of
http://upload.wikimedia.org/ma...9080063e7b2531cb0b.png
But shouldn't I only have 4 things inside? I have five. Halp!
Integral of f(t) from 5 to 7.
I would do this:
(7-5)/(2*4) * ( f(5) + 2f(5.5) + 2f(6) + 2f(6.5) + f(7) )
because of
http://upload.wikimedia.org/ma...9080063e7b2531cb0b.png
But shouldn't I only have 4 things inside? I have five. Halp!