Comparing the Midpoint and Trapezoid Rules pply the

Chapter 5, Problem 23E

(choose chapter or problem)

Get Unlimited Answers
QUESTION:

Comparing the Midpoint and Trapezoid Rules  Apply the Midpoint and Trapezoid Rules to the following integrals. Make a table similar to Table 7.4 showing the approximations and errors for n=4, 8, 16, and 32. The exact values of the integrals are given for computing the error.

\(\int_{0}^{\pi / 4} 3 \sin 2 x d x=\frac{3}{2}\)

Questions & Answers

QUESTION:

Comparing the Midpoint and Trapezoid Rules  Apply the Midpoint and Trapezoid Rules to the following integrals. Make a table similar to Table 7.4 showing the approximations and errors for n=4, 8, 16, and 32. The exact values of the integrals are given for computing the error.

\(\int_{0}^{\pi / 4} 3 \sin 2 x d x=\frac{3}{2}\)

ANSWER:

Solution:-

Step1

Given that

Apply the Midpoint and Trapezoid Rules to the following integrals.

n = 4,8, 16, and 32

The exact values of the integrals are given for computing the error.

Step2

To find

 Make a table  showing the approximations and errors for n = 4,8, 16, and 32.

Step3

     a=0 , b=0.7854, (N=4,8,16,32)

Using midpoint rule

Step4

Midpoint sum for N=4

++-------+)

++-------+)

=0.93193

Error for N=4 for midpoint rule

===0.37871

Step5

Using midpoint rule

Midpoint sum for N=8

++-------+)

++-------+)

=1.2093

Error for N=8 for midpoint rule

===0.19379

Step6

Using midpoint rule

Add to cart


Study Tools You Might Need

Not The Solution You Need? Search for Your Answer Here:

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back