Estimating Oil Production with Simpson's Rule

  • MHB
  • Thread starter shamieh
  • Start date
In summary: Using 16 sub-intervals gives you a more accurate answer, but is not required.In summary, the conversation discusses using Simpson's rule and extrapolation to estimate the total amount of oil produced through the end of the fourth day by a large refinery. The graph provided shows the rate of production in thousands of barrels per day and there appears to be 19 intervals. However, it is stated that the function should only be evaluated up to the fourth day, so the correct number of intervals is 8. While 4 sub-intervals per day can be used, using 16 sub-intervals would result in a more accurate estimation.
  • #1
shamieh
539
0
The graph below gives the rate of production of oil in thousands of barrels per day by a large refinery. Use Simpson's rule to estimate the total amount of oil produced through the end of the fourth day.so I got

\(\displaystyle \frac{1}{3} [ 10 + 4(12) + 2(14) + 4(9) + 10.5)] \approx 44.1666666667\)
 

Attachments

  • unnamed.jpg
    unnamed.jpg
    29.9 KB · Views: 62
Physics news on Phys.org
  • #2
There appear to be 19 intervals, so I though I would extrapolate and say:

\(\displaystyle P(5.0)=P(4.5)\) so that we have 20 intervals, and then use 10 parabolic arcs rather than just 2 (unless you were instructed to do otherwise).

And be careful reading the graph...notice $P(4.75)\approx12.5$. :D
 
  • #3
MarkFL said:
There appear to be 19 intervals, so I though I would extrapolate and say:

\(\displaystyle P(5.0)=P(4.5)\) so that we have 20 intervals, and then use 10 parabolic arcs rather than just 2 (unless you were instructed to do otherwise).

And be careful reading the graph...notice $P(4.75)\approx12.5$. :D
19 intervals? But isn't the function something like \(\displaystyle \int^4_0 f(x)\) and it says to just go to the 4th day. So wouldn't i have n = 4 since i have 5 subscripts?

Then \(\displaystyle \Delta x =(4/4) / 3 = \frac{1}{3}\)
then \(\displaystyle \frac{1}{3}[f(0) + 4f(1) + 2f(2) + 4f(3) + f(4)]\) ?

Are you saying i need to split up into 19 pieces?

- - - Updated - - -

Also what does P(5.0) =P(4.5) mean?

- - - Updated - - -

I also don't understand why we are going past 4? It just says go to the end of the 4th day? Now we would be in the end of the 5th day from what you're saying wouldn't we?

Because from 0 to 1 that's the end of the first day isn't it? There can't be a 0th day? so then from 1 to 2 that's the end of the 2nd day etc etc? Or am I way wrong lol
 
  • #4
It looks like each day is split up into 4 sub-intervals, however, I was reading the graph incorrectly. :eek: There is no extrapolation required and your ending value ($P(4)$) is correct. I was using $P(t)$ to represent the function being plotted (P for production). So, if I was working this problem, I would want 16 sub-intervals ($n$=16) or 8 parabolic arcs.
 
  • #5
So I can't do this right? Because wouldn't this be way easier then splitting it into 16 pieces? Plus n is even so why wouldn't this approach work?

\(\displaystyle \Delta x = b-a/n\)
\(\displaystyle \Delta x = 4 - 0/ 4 \)
\(\displaystyle \Delta x = 1\)

Cut into n pieces, so cut into 1 piece. (0 to 1, 1 to 2, etc up to 4.
Applying Simpsons

\(\displaystyle \frac{\Delta x}{3} = \frac{1}{3}[f(0) + 4f(1) + 2f(2) + 4f(3) + f(4)] \)
 
  • #6
So should I get:

\(\displaystyle \Delta x = \frac{4}{16} = \frac{1}{4}\)

then \(\displaystyle \frac{\Delta x}{3} = \frac{1}{12}\)

\(\displaystyle \frac{1}{12}[10 + 4(8.75) + 2(8.75) + 4(9.50) + 2(12) + 4(14.5) + 2(15.75) + 4(15.75) + 2(14) + 4(12.75) + 2(11) + 4(10) + 2(9) + 4(8.50) + 2(8.50) + 4(9.50) + 10.75]\)so
\(\displaystyle 1/12 * 535.75 \approx 44.6458333333\)

Is this correct?:eek:
 
  • #7
What in the world? If that is correct then wouldn't it be pointless to split them up into \(\displaystyle 16\) sub intervals when I just split them in \(\displaystyle 4\) pieces before and got the same answer essentially? I mean it only differed by \(\displaystyle 0.4791666666\).. Is that a big deal?
 
  • #8
I guess it boils down to your personal preference. My own would be to use the better approximation. :D
 
  • #9
MarkFL said:
I guess it boils down to your personal preference. My own would be to use the better approximation. :D

So would you say that it would be wrong to approximate it my way? As in, incorrect. Or would you basically be doing the same thing? I mean because I guess an approximation is just that exactly right? An approximation?
 
  • #10
No, what you have done is not wrong, it is just not as accurate. It just depends on whether you want to make the extra computations. To me the graph seems to indicate using 4 sub-intervals per day.
 

FAQ: Estimating Oil Production with Simpson's Rule

How can Simpson's rule be used to approximate the area under a curve?

Simpson's rule is a numerical integration method that uses quadratic polynomials to approximate the area under a curve. It involves dividing the curve into smaller sections and using the formula: A ≈ h/3[(y0 + yn) + 4(y1 + y3 + ... + yn-1) + 2(y2 + y4 + ... + yn-2)], where h is the width of each section and y values are the corresponding function values at the endpoints of each section.

What are the advantages of using Simpson's rule over other numerical integration methods?

Simpson's rule is more accurate than other numerical integration methods, such as the trapezoidal rule, because it uses quadratic polynomials instead of linear ones. It also requires fewer function evaluations, making it more efficient for calculating the area under a curve.

Can Simpson's rule be used for any type of curve?

Yes, Simpson's rule can be used for any curve, as long as the function is known and can be evaluated at different points. However, it is most effective for smooth, continuous functions. For functions with sharp turns or discontinuities, other methods may be more appropriate.

How can the accuracy of Simpson's rule be improved?

The accuracy of Simpson's rule can be improved by decreasing the width of each section, which in turn increases the number of sections used. This can be achieved by using a smaller step size or by adding more points to the curve. Alternatively, the accuracy can also be improved by using higher-order polynomial approximations, such as Simpson's 3/8 rule.

Is Simpson's rule always more accurate than other numerical integration methods?

No, Simpson's rule is not always more accurate than other numerical integration methods. In some cases, such as for highly oscillatory or rapidly changing functions, other methods like Gaussian quadrature may be more accurate. It is important to consider the properties of the function and the desired level of accuracy when choosing a numerical integration method.

Similar threads

Replies
4
Views
2K
Replies
1
Views
10K
Replies
1
Views
2K
Replies
1
Views
1K
Replies
11
Views
2K
Back
Top