Question 8.8: Use the multiple trapezoidal rule to determine how the error...

Use the multiple trapezoidal rule to determine how the error in the integral

I =∫_0^{1/2}\cosπx\;dx                (8.4.8)

depends on the number of trapezoids.

The blue check mark means that this solution has been answered and checked by an expert. This guarantees that the final answer is accurate.
Learn more on how we answer questions.

We know that the integral is I = π^{−1}. Figure 8.6 shows the value of the error as a function of the number of trapezoids. For the smallest values of n, we can get a non-monotonic dependence of the error on n because we use a small number of line segments to represent a continuously varying function. Once we reach a modest number of trapezoids, the error is already quite small. For example, we are underestimating the integral by only 0.03. The plot corresponds to 100 trapezoids, which produces an underestimate of only 8.5 × 10^{−5}.

1111

Related Answered Questions

Question: 8.5

Verified Answer:

With x_2 = x_0 + 2h and x_1 ...
Question: 8.6

Verified Answer:

We can begin by applying Eq. (8.2.52) to get conve...
Question: 8.2

Verified Answer:

The recursion relationship gives us f[x_3, ...
Question: 8.4

Verified Answer:

With x_i = x_0 + h  and  x_j = x_0,...
Question: 8.1

Verified Answer:

Let x_i = x_2, x_j = x_1,  and  x_k = x_0[/...