Chapter 8.6, Problem 5E

### Calculus (MindTap Course List)

11th Edition
Ron Larson + 1 other
ISBN: 9781337275347

Chapter
Section

### Calculus (MindTap Course List)

11th Edition
Ron Larson + 1 other
ISBN: 9781337275347
Textbook Problem

# Using the Trapezoidal Rule and Simpson's Rule In Exercises 3-14, use the Trapezoidal Rule and Simpson’s Rule to approximate the value of the definite integral for the given value of n. Round your answer to four decimal places and compare the results with the exact value of the definite integral. ∫ 3 4 1 x − 2 d x ,   n = 4

To determine

To calculate: The approximate value of definite integral 341x2dx for given value of n by using Trapezoidal rule and Simpson’s rule and compare it with the exact value of the definite integral.

Explanation

Given: The provided integral is:

âˆ«341xâˆ’2dx

And the value n=4.

Formula used:

1. According to trapezoidal rule

âˆ«abf(x)dxâ‰ˆbâˆ’a2n[f(x0)+2f(x1)+....+2f(xnâˆ’1)+f(xn)]

2. According to Simpsonâ€™s rule

âˆ«abp(x)dxâ‰ˆ(bâˆ’a3n)[f(x0)+4f(x1)+2f(x2)+4f(x3)+...2f(xnâˆ’2)+4f(xnâˆ’1)+f(xn)]

3. The log rule for integration:

âˆ«dxx=log|x|+C

Calculation:

Consider the following function

f(x)=1xâˆ’2.

From the given integral we get,

b=4, a=3 and n=4.

Now, calculate the width as:

Î”x=bâˆ’an=4âˆ’34=14

Use trapezoidal rule to approximate the value of integral,

âˆ«341xâˆ’2dxâ‰ˆ4âˆ’32(4)[f(3)+2f(3+14)+2f(3+14Ã—2)+2f(3+14Ã—3)+f(3+14Ã—4)]=18[f(3)+2f(134)+2f(72)+2f(154)+f(4)]=18[(13âˆ’2)+2(1(13/4)âˆ’2)+2(1(7/2)âˆ’2)+2(1(15/4)âˆ’2)+(14âˆ’2)]=18[1+2(45)+2(23)+2(47)+12]

By solving further, we get,

18[1+2(45)+2(23)+2(47)+12]=18[1+85+43+87+12]=18[1+1

### Still sussing out bartleby?

Check out a sample textbook solution.

See a sample solution

#### The Solution to Your Study Problems

Bartleby provides explanations to thousands of textbook problems written by our experts, many with advanced degrees!

Get Started