SlideServe
Menu
Préférences
© SlideServe · v2026

SECTION 6.5

tino avatar
36 diapositives · 632 Views · Oct 03, 2014

SECTION 6.5. APPROXIMATE INTEGRATION. THE MIDPOINT RULE. where and. THE TRAPEZOIDAL RULE. where ∆ x = ( b – a )/ n and x i = a + i ∆ x. Example 1. Approximate the integral with n = 5, using: (a) Trapezoidal Rule (b) Midpoint Rule. Example 1(a) SOLUTION.

SECTION 6.5 - slide 1
01 / 36SECTION 6.5
1 / 17

Télécharger la présentation

SECTION 6.5
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. SECTION 6.5 APPROXIMATE INTEGRATION

  2. THE MIDPOINT RULE where and 6.5

  3. THE TRAPEZOIDAL RULE where ∆x = (b–a)/n and xi = a + i ∆x 6.5

  4. Example 1 • Approximate the integral with n = 5, using: (a) Trapezoidal Rule(b) Midpoint Rule 6.5

  5. Example 1(a) SOLUTION • With n = 5, a = 1 and b = 2, we have: ∆x = (2 – 1)/5 = 0.2 • So, the Trapezoidal Rule gives: 6.5

  6. Example 1(a) SOLUTION • The approximation is illustrated in Figure 3. 6.5

  7. Example 1(b) SOLUTION • The midpoints of the five subintervals are: 1.1, 1.3, 1.5, 1.7, 1.9 • So, the Midpoint Rule gives: 6.5

  8. Example 1(b) SOLUTION • This approximation is illustrated in Figure 4. 6.5

  9. ERROR BOUNDS Suppose | f ’’(x) | ≤ Kfor a ≤ x ≤ b. If ET and EM are the errors in the Trapezoidal and Midpoint Rules, then 6.5

  10. Example 2 • How large should we take n in order to guarantee that the Trapezoidal and Midpoint Rule approximations for are accurate to within 0.0001? 6.5

  11. Example 2 SOLUTION • We saw in the preceding calculation that | f ’’(x) | ≤ 2 for 1 ≤ x ≤ 2 • So, we can take K = 2, a = 1, and b = 2 in (3). • Accuracy to within 0.0001 means that the size of the error should be less than 0.0001 • Therefore, we choose n so that: 6.5

  12. Example 2 SOLUTION • Solving the inequality for n, we getor • Thus, n = 41 will ensure the desired accuracy. 6.5

  13. Example 2 SOLUTION • It’s quite possible that a lower value for n would suffice. • However, 41 is the smallest value for which the error-bound formula can guarantee us accuracy to within 0.0001 6.5

  14. Example 2 SOLUTION • For the same accuracy with the Midpoint Rule, we choose n so that: • This gives: 6.5

  15. Example 3 • Use the Midpoint Rule with n = 10 to approximate the integral • Give an upper bound for the error involved in this approximation. 6.5

  16. Example 3(a) SOLUTION • As a = 0, b = 1, and n = 10, the Midpoint Rule gives: 6.5

  17. Example 3(a) SOLUTION • Figure 6 The approximation. 6.5

  18. Example 3(b) SOLUTION • As f(x) = ex2, we have: f ’(x) = 2xex2 and f ’’(x) = (2 + 4x2)ex2 • Also, since 0 ≤ x ≤ 1, we have x2 ≤ 1. • Hence, 0 ≤ f ’’(x) = (2 + 4x2) ex2 ≤ 6e 6.5

  19. Example 3(a) SOLUTION • Taking K = 6e, a = 0, b = 1, and n = 10 in the error estimate (3), we see that an upper bound for the error is: 6.5

  20. SIMPSON’S RULE where n is even and ∆x = (b–a)/n. 6.5

  21. Example 4 • Use Simpson’s Rule with n = 10 to approximate 6.5

  22. Example 4 SOLUTION • Putting f(x) = 1/x, n = 10, and ∆x = 0.1 in Simpson’s Rule, we obtain: 6.5

  23. Example 5 • Figure 9 shows data traffic on the link from the U.S. to SWITCH, the Swiss academic and research network, on February 10, 1998. • D(t) is the data throughput, measured in megabits per second (Mb/s). 6.5

  24. Example 5 SOLUTION • Use Simpson’s Rule to estimate the total amount of data transmitted on the link up to noon on that day. 6.5

  25. Example 5 SOLUTION • Since we want the units to be consistent and D(t) is measured in Mb/s, we convert the units for t from hours to seconds. 6.5

  26. Example 5 SOLUTION • If we let A(t) be the amount of data (in Mb) transmitted by time t, where t is measured in seconds, then A’(t) = D(t). • So, by the Net Change Theorem (Section 4.3), the total amount of data transmitted by noon (when t = 12 × 602 = 43,200) is: 6.5

  27. Example 5 SOLUTION • We estimate the values of D(t) at hourly intervals from the graph and compile them here. 6.5 p. 539

  28. Example 5 SOLUTION • Then, we use Simpson’s Rule with n = 12 and ∆t = 3600 to estimate the integral, as follows. • The total amount of data transmitted up to noon is 144,000 Mbs, or 144 gigabits. 6.5

  29. ERROR BOUND FOR SIMPSON’S RULE Suppose that | f (4)(x) | ≤ Kfor a ≤ x ≤ b. If Es is the error involved in using Simpson’s Rule, then 6.5

  30. Example 6 • How large should we take n to guarantee that the Simpson’s Rule approximation for is accurate to within 0.0001? • SOLUTION • If f(x) = 1/x, then f (4)(x) = 24/x5. • Since x≥ 1, we have 1/x ≤ 1, and so • Thus, we can take K = 24 in (4). 6.5

  31. Example 6 SOLUTION • So, for an error less than 0.0001, we should choose n so that: • This gives or 6.5

  32. Example 6 SOLUTION • Therefore, n = 8 (n must be even) gives the desired accuracy. • Compare this with Example 2, where we obtained n = 41 for the Trapezoidal Rule and n = 29 for the Midpoint Rule. 6.5

  33. Example 7 • Use Simpson’s Rule with n = 10 to approximate the integral . • Estimate the error involved in this approximation. 6.5

  34. Example 7(a) SOLUTION • If n =10, then ∆x = 0.1 and the rule gives: 6.5

  35. Example 7(b) SOLUTION • The fourth derivative of f(x) = ex2 is: f (4)(x) = (12 + 48x2 + 16x4)ex2 • So, since 0 ≤ x ≤ 1, we have: 0 ≤ f (4)(x) ≤ (12 + 48 +16)e1 = 76e 6.5

  36. Example 7(b) SOLUTION • Putting K = 76e, a = 0, b = 1, and n = 10 in (4), we see that the error is at most: • Compare this with Example 3(b). • Thus, correct to three decimal places, we have: 6.5