Next: About this document ...
Up: The Definite Integral -
Previous: Background
- 1.
- For each of the following functions and intervals determine the
area under the curve with the int command. Also, choose one
of the three rectangular approximations leftsum,
middlesum or rightsum and determine the minimum
number of subintervals required so that your rectangular approximation
agrees with the integral to four decimal places. Don't use the same
rectangular approximation method for every part; please use each
method at least once. Also, plot each function to verify that it is
non-negative over the interval in question.
- (a)
-
![\begin{displaymath}
f(x) = x^2 \cos(x) \mbox{ on } [-\frac{\pi}{2}, \frac{\pi}{2}] \end{displaymath}](img22.gif)
- (b)
-
![\begin{displaymath}
g(x) = x^5-2x^4-x^3+16*x^2-21x+10 \mbox{ on } [0,1] \end{displaymath}](img23.gif)
- (c)
-
![\begin{displaymath}
h(x) = \sqrt{4-x^2} \mbox{ on } [0,2] \end{displaymath}](img24.gif)
- (d)
-
![\begin{displaymath}
r(x) = 2x (x^2+4)^{\frac{5}{2}} \mbox{ on } [0,3] \end{displaymath}](img25.gif)
- 2.
- Consider the function f(x) = -2x+8 on the interval [0,4]. Verify
that the middlesum command gives the exact value for the area
independently of the number of subintervals you specify. Can you
explain this? Hint - look at the graph produced by the
middlebox command.
William W. Farr
1/9/1998