Cat's question at Yahoo Answers regarding approximate integration

In summary, using the Midpoint Rule and approximating the integral with different values of $n$, we find that the total water consumption for one day is approximately 197.728 thousand gallons.
  • #1
MarkFL
Gold Member
MHB
13,288
12
Here is the question:

Calculus question: which would best approximate total water consumption of storage tank?


Water is pumped from a storage tank and the flower of water from the tank is given by C(t) = 25e ^-0.05(t-15)^2 thousand gallons per hour, where t is the number of hours since midnight. Which of the following best approximates the total water consumption for one day (in thousands of gallons)?

a) 33.964
b) 164.202
c) 197.727
d) 198.166
e) 202.144

How do you find this answer? Please explain how you work through this problem, thank you!

I have posted a link there to this thread so the OP can view my work.
 
Mathematics news on Phys.org
  • #2
Hello Cat,

To find the total consumption $T$ of water for 24 hours, we may state:

\(\displaystyle T=\int_{0}^{24} C(t)\,dt=25\int_{0}^{24} e^{-\frac{(t-15)^2}{20}}\,dt\)

Now, the integrand in this problem does not have an anti-derivative expressible in elementary terms, so we must use either the error function or approximate integration. For simplicity of computation and aided by a computer, let's use the Midpoint Rule and state:

\(\displaystyle T\approx\Delta t\sum_{k=0}^{n-1}\left(C\left(\frac{t_{k}+t_{k+1}}{2} \right) \right)\)

Now, we find that:

\(\displaystyle \Delta t=\frac{24}{n}\)

\(\displaystyle t_k=\frac{24k}{n}\)

\(\displaystyle \frac{t_{k}+t_{k+1}}{2}=\frac{12}{n}(2k+1)\)

Hence:

\(\displaystyle T\approx T_n=\frac{600}{n} \sum_{k=0}^{n-1}\left(\exp\left(-\frac{\left(\dfrac{12}{n}(2k+1)-15 \right)^2}{20} \right) \right)\)

Now, at the site Wolfram|Alpha: Computational Knowledge Engine I used the command:

sum of (600/n)exp(-((12/n)(2k+1)-15)^2/20) for k=0 to n-1

where I substituted powers of 10 for $n$ and obtained (to 3 decimal places):

$n$$T_n$
10197.814
100197.729
1000197.728
10000197.728

Thus, the choice given by c) is the closest.
 

Related to Cat's question at Yahoo Answers regarding approximate integration

1. What is approximate integration?

Approximate integration is a numerical method used to estimate the value of a definite integral. It involves dividing the interval of integration into smaller subintervals and approximating the area under the curve using simple geometric shapes like rectangles or trapezoids.

2. Why use approximate integration instead of exact integration?

Exact integration, also known as analytic integration, involves finding the antiderivative of a function and evaluating it at the limits of integration. However, this method is not always possible for all functions. Approximate integration provides a way to estimate the value of an integral even when the antiderivative cannot be found analytically.

3. How accurate is approximate integration?

The accuracy of approximate integration depends on the number of subintervals used and the method chosen. Generally, as the number of subintervals increases, the accuracy of the approximation also increases. However, some methods such as Simpson's rule can provide more accurate results with fewer subintervals than others.

4. What are some common methods of approximate integration?

Some common methods of approximate integration include the rectangular rule, trapezoidal rule, and Simpson's rule. These methods use different formulas to approximate the area under a curve and have varying levels of accuracy.

5. When should I use approximate integration?

Approximate integration is useful when the exact value of an integral cannot be found analytically. It is also helpful when dealing with complex or non-standard functions that cannot be easily integrated. Additionally, approximate integration is commonly used in scientific and engineering applications where precise calculations are necessary.

Similar threads

Replies
50
Views
4K
Replies
1
Views
6K
Replies
4
Views
2K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
1
Views
7K
Replies
1
Views
2K
Replies
1
Views
5K
Replies
1
Views
1K
Back
Top