I think both are correct. I find the professors way makes more sense
since the method is called midpoint rule, so it makes sense for the composite
midpoint to be, cut into n intervals, each of length h, and approximate
each function at the midpoint of each interval.
Soroosh
On Wed, Dec 13, 2006 at 04:41:47PM -0800, dcas...@berkeley.edu wrote:
> I am talking about problem one on the midterm.
>
> We were asked to use composite midpoint riele with h=0.5 and 1.
> The equation we have for midpoint rule is 2*h(f(x0) + f(x1)) and 2*hf(x0).
>
> You used h(f(x0) + f(x1)) and hf(x0), for h - 0.5 and 1 respectively.
>
> I just don't understand what happened to the 2.
>
> Danielle