Problem 19
Question
Approximating Area with a Calculator When we approximate areas using rectangles as in Example \(1,\) then the more rectangles we use the more accurate the answer. The following TI- 83 program finds the approximate area under the graph of \(f\) on the interval \([a, b]\) using \(n\) rectangles. To use the program, first store the function \(f\) in \(Y_{1}\). The program prompts you to enter \(\mathrm{N}\), the number of rectangles, and \(A\) and \(B\), the endpoints of the interval. (a) Approximate the area under the graph of \(f(x)=x^{5}+2 x+3\) on \([1,3]\) using \(10,20\) and 100 rectangles. (b) Approximate the area under the graph of \(f\) on the given interval using 100 rectangles. (i) \(f(x)=\sin x, \quad\) on \([0, \pi]\) (ii) \(f(x)=e^{-x^{2}}, \quad\) on \([-1,1]\) \(P R O G R A M: A R E A\) : Prompt \(N\) : Prompt \(A\) : Prompt B \(:(B-A) / N \rightarrow D\) \(: 0 \rightarrow s\) \(: A \rightarrow x\) : For \((K, 1, N)\) \(: x+D \rightarrow x\) \(: \mathrm{S}+\mathrm{Y}_{1} \rightarrow \mathrm{S}\) : End \(: D \star S \rightarrow S\) : D is \(p\) "AREA IS" : D i sp \(\mathrm{S}\)
Step-by-Step Solution
VerifiedKey Concepts
Rectangles
For each rectangle:
- The width is determined by dividing the total interval [\(a, b\)] by the number of rectangles \(n\).
- The height is taken from the value of the function at a specific point within each interval.
In practice, as the number of rectangles increases, the approximation becomes closer to the true area. Therefore, selecting an appropriate number of rectangles is crucial for achieving a precise result.
TI-83 Program
Here's how the TI-83 program works:
- First, you enter the function into the calculator's function list \(Y_1\).
- Next, the program prompts you to input the number of rectangles \(N\), as well as the interval boundaries \(A\) and \(B\).
- The program calculates the step size \(D\), which is the width of each rectangle, by dividing \((B-A)\) by \(N\).
Function Approximation
Here's the process:
- Begin by choosing a function, say \(f(x)\), which you want to approximate over an interval.
- The main focus is to approximate the integral of \(f(x)\), which represents the area under the curve.
- The choice of using rectangles is ideal due to their simplicity in terms of geometric calculation \(\text{(area = width × height)}\).
Interval
Consider these steps:
- Identify the function you want to integrate, say \(f(x)\).
- Determine the interval \([a, b]\) over which you need the approximation. This is your area of interest.
- The interval is divided into equal parts by the rectangles, and each part represents one rectangle.