Re: math 128a

5 views
Skip to first unread message

Soroosh Yazdani

unread,
Dec 13, 2006, 7:55:45 PM12/13/06
to dcas...@berkeley.edu, math128a...@groups.l.google.com
That one. So, the h in the midterm is different from the h in the book.
(I know, this is confusing.) The book divides the interval in two pieces
(each of interval length h) [x_0,x_1] and [x_1,x_2], and approximates the
function with the constant function f(x_1).
However, another approach is not to divide the interval and pick a point
in the middle of the interval (call it x_1) and approximate the function
with the constant function f(x_1). Does this make sense?

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

Reply all
Reply to author
Forward
0 new messages