0% found this document useful (0 votes)
62 views2 pages

Numerical Integration - Trapezoidal Rule

A civil engineer calculates the volume of a reservoir using the Trapezoidal Rule with a varying cross-sectional area defined by the function f(x) = 32 + 50x - 3x². The numerical solution yields a volume of approximately 1778.75 m³, while the analytical solution gives a volume of 1820 m³. The results indicate that the Trapezoidal Rule slightly underestimates the volume due to the quadratic nature of the function.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views2 pages

Numerical Integration - Trapezoidal Rule

A civil engineer calculates the volume of a reservoir using the Trapezoidal Rule with a varying cross-sectional area defined by the function f(x) = 32 + 50x - 3x². The numerical solution yields a volume of approximately 1778.75 m³, while the analytical solution gives a volume of 1820 m³. The results indicate that the Trapezoidal Rule slightly underestimates the volume due to the quadratic nature of the function.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

A civil engineer is tasked with determining the volume of a reservoir formed

by a dam. The reservoir's cross-sectional area varies along its length, and
the engineer uses the equation:
2
f ( x )=32+50 x−3 x

where f (x) represents the cross-sectional area of the reservoir at a distance x


(in meters) from the dam. The reservoir is 10 meters long ( x=0 ¿ x=10 ). Using
the Trapezoidal Rule by four segments, calculate the approximate volume
of the reservoir.

Numerical Solution:

x n−¿ x 10−0
h= 0
= =2.5 ¿
n 4

To solve for f(x), substitute the x-values to the given equation:

i x f(x)
0 0 32
1 2.5 138.25
2 5.0 207
3 7.5 238.25
4 10 232
Substitute into the Trapezoidal Rule formula:
h
I=
2
[ f ( x 0 ) +2 f ( x i ) +f ( x n ) ]
2.5
I=
2
[ 32+2 ( 138.25+207+238.25 )+ 232 ]
3
I =1778.75 m

Analytical Solution:
10
V=∫ f ( x ) dx
0

10
V =∫ (32+50 x−3 x ² ) dx
0

[ ]
10
50 x 2 3 x 3
V = 32 x + − +c
2 3 0

( )
2 3
50 ( 10 ) 3 ( 10 )
V = 32 ( 10 ) + − −0
2 3

3
V =1820 m

Comparison of Results:

 Numerical Volume: 1778.75 m ³


 Analytical Volume (Trapezoidal Rule): 1820 m ³

The Trapezoidal Rule provides a close approximation, though slightly


underestimates the volume due to the quadratic nature of f ( x ) .

∫_0^10▒(32+50x-3x²)dx

You might also like