Question: This method uses the trapezoidal rule and gains precision step wise by halving h and adding an error estimate. Do this for the integral of

This method uses the trapezoidal rule and gains precision step wise by halving h and adding an error estimate. Do this for the integral of f(x) = e-xfrom x = 0 to x = 2 with TOL = 10-3, as follows.

Apply the trapezoidal rule (2) with h = 2 (hence n = 1) to get an approximation J11. Halve h and use (2) to get J21 and an error estimate

(J21 – J11). 22 – 1 €21

If |ϵ21| ‰¤ TOL, stop. The result is J22 = J21 + ϵ21.

Show that ϵ21 = 0.066596, hence |ϵ21| > TOL and go on. Use (2) with h/4 to get J31 and add to it the error estimate ϵ31 = 1/3(J31 - J21) to get the better J32 = J31 + ϵ31. Calculate

€32 24 (J32 – J22) 15 (J32 - J22).

If |ϵ32| ‰¤ TOL, stop. The result is J33 = J32 + ϵ32. (Why does 24 = 16 come in?) Show that we obtain ϵ32 = 0.000266, so that we can stop. Arrange J- and ϵ-values in a kind of €œdifference table.€

(J21 J11). 22 1 21 32 24 (J32 J22) 15 (J32 -


If |ϵ32| were greater than TOL, you would have to go on and calculate in the next step J41 from (2) with then h = 1/4; then

J22).

where 63 = 26 - 1. (How does this come in?)

Apply the Romberg method to the integral of f(x) = 1/4Ï€x4cos 1/4Ï€x from x = 0 to 2 with TOL = 10-4.

(J21 J11). 22 1 21 32 24 (J32 J22) 15 (J32 - J22).

Step by Step Solution

3.36 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The factor 2 4 16 comes in because we have replaced h by 1... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Advanced Engineering Mathematics Questions!