a)With f(x)= e^-x^2 , compute approximations using midpoint, trapezoidal and simpson's rule for

∫ [0 to 2] f(x) dx

with n=2 (5 decimal places)

Printable View

- October 20th 2006, 07:23 PM413Midpoint
a)With f(x)= e^-x^2 , compute approximations using midpoint, trapezoidal and simpson's rule for

∫ [0 to 2] f(x) dx

with n=2 (5 decimal places) - October 20th 2006, 08:14 PMJameson
Simpson's rule won't work unless . Is your n correct?

- October 20th 2006, 09:00 PM413
that's what it says.

- October 20th 2006, 09:06 PMJameson
Well for midpoint, divide each subinterval into width . And the height is of course the midpoint values. Thus we can use these rectangles to approximate the area. So...

- October 21st 2006, 02:32 AMearboth
- October 21st 2006, 09:10 AM413
I found that from midpoint rule gives 0.88420, trapezoidal rule gives 0.87704, and simpson's rule gives 0.82994. The next question asks me to

Compute the error esimates for midpoint, trapezoidal, simpson's. Carefully examine the extreme values of f ''(x). You may use that |f ''''(x)| < 12 for 0<x<2. (the < signs all mean less than or equal to).

How would you do this? - October 21st 2006, 12:00 PMearboth
- October 21st 2006, 01:30 PM413
its okay.

How do you compute the error estimates, and why would you use f ''(x) and f ''''(x)? - October 21st 2006, 04:31 PMThePerfectHacker
- October 22nd 2006, 10:48 AM413
is f '' (x)= -2xe^-x^2 and f ''''(x)=-2e^-x^2 + 2xe^x^2 ?

- October 22nd 2006, 11:53 AMThePerfectHacker
- October 22nd 2006, 10:31 PM413
does En< 0.14875 seem right?

- October 23rd 2006, 05:11 AMThePerfectHacker
- October 23rd 2006, 05:34 AM413
not correct?..hmm...then how do you actually compute it with the formula's you gave me?

- October 24th 2006, 08:24 AM413
and another question,

How big should we take n to guarntee absolute value of ET <0.0001? and also for EM and ES.