In: Math
Use the Trapezoidal Rule, the Midpoint Rule, and Simpson's Rule to approximate the given integral with the specified value of n. (Round your answers to six decimal places.)
| π/2 |
| 0 |
| 3 | 2 + cos(x) |
dx, n = 4
(a) the Trapezoidal Rule
(b) the Midpoint Rule
(c) Simpson's Rule