Professional Documents
Culture Documents
1. State the formula for the mass of an object given a density function.
chapters.
A discrete distribution
In Figure 5.1 we see a number of beads distributed along a thin wire. We
label each bead with an index, i = 1 . . . n (in this case there are five beads so
that n = 5). Each bead has a certain position (that we think of as the value of
xi ) and a mass that we call mi . We refer to this arrangement as a discrete mass
distribution: both the masses of the beads, and their positions are of interest
to us. We can describe some properties of this distribution.
x1 x2 x3 x4 x5
Example 5.2 How can we determine the mass of the bar depicted in Fig-
ure 5.2?
Solution. Suppose the bar has length L and let x (0 ≤ x ≤ L) denote the
position along that bar. Let us imagine dividing up the bar into N small pieces
D E F I N I T E I N T E G R A L A P P L I C AT I O N S : T O C A L C U L AT I N G VO L U M E , M A S S , A N D L E N G T H 107
Δx
(b) m1 m 2 ··· mN
x1 x2 ··· xN
mk = ρ (xk )Δx.
Mastered Material Check
The total mass is then a sum of masses of all the pieces, and, as we have 2. In Figure 5.2(a), where is the bar
seen in an earlier chapter, this sum approaches the integral most dense?
L 3. What are the units of ρ (xi )? Δx?
M= ρ (x)dx (5.2) Verify that mk has sensible units.
0 4. Verify that "the mass of each piece
as we make the size of the pieces smaller. is approximately mk = ρ (xk )Δx
where xk = kΔx."
We can also define a cumulative function for the mass distribution as
x
M (x) = ρ (s)ds. (5.3)
0
Then M (x) is the total mass in the part of the interval between the left end
(assumed at 0) and the position x (0 ≤ x ≤ L).
108 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
actin cortex
c Figure 5.3: A cell (keratocyte) shown
in (a) has a dense distribution of actin
in a band called the actin cortex. In (b)
we show a schematic sketch of the actin
cortex (shaded). In (c) that band of actin
1 is scaled and straightened out so that it
−1 occupies a length corresponding to the
interval −1 ≤ x ≤ 1. We are interested in
b actin cortex d ρ =1−x 2 the distribution of actin filaments across
that band. That distribution is shown in (d).
Note that actin is densest in the middle of
the band. (a) Credit to Alex Mogilner.
nucleus
−1 0 1
x
ρ ( x ) = α ( 1 − x2 ) , −1 ≤ x ≤ 1,
where x is the fraction of distance from midpoint to the end of the band (Fig-
ure 5.3c and d). Here ρ (x) is an actin filament density in units of filaments Mastered Material Check
per μm. That is, ρ is the number of actin fibers per unit length. 5. Consider Figure 5.3; where is the
actin least dense?
We can find the total number of actin filaments, N in the band by integra-
6. Verify that
tion, i.e.
1
4
(1 − x2 )dx = ,
−1 3
1 1
N= α (1 − x2 ) dx = α (1 − x2 ) dx. 7. Given that
−1 −1
1
4
(1 − x2 )dx = ,
−1 3
The integral above has already been computed in Section 3.4 in the Example How many actin filaments N are
there in the band?
3.3 as Integral 2 and was found to be 4/3.
D E F I N I T E I N T E G R A L A P P L I C AT I O N S : T O C A L C U L AT I N G VO L U M E , M A S S , A N D L E N G T H 109
1. State the formula for the centre of mass of a one dimensional object.
2. Explain the differences between center of mass, average mass density and
the point where an object can be split into two pieces of equal mass.
This can also be written in the form 8. Consider Eqn. 5.2; describe in
words what each of x̄, M, xi , m and n
∑Ni=1 xi mi are indicating in this equation.
x̄ = .
∑Ni=1 mi
Example 5.3 (Center of mass vs. average mass density) Here we distin-
guish between two (potentially confusing) quantities in the context of an
example.
110 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
A long thin bar of length L is made of material whose density varies along
the length of the bar. Let x be distance from one end of the bar. Suppose that
mass distribution
the mass density is given by
Solution.
(a) From our previous discussion, the total mass of the bar is Mastered Material Check
L L
ax2 aL2 9. On Figure 5.4, depict an estimation
M= ax dx = = . of the solution to Example 5.3(d).
0 2 0 2
(b) The average mass density along the bar is computed just as one would
compute the average value of a function: integrate the function over an
interval and divide by the length of the interval. An example of this type
appeared in Section 4.3. Thus
1 L 1 aL2 aL
ρ̄ = ρ (x) dx = = .
L 0 L 2 2
What does this mean? Well, a bar having a uniform density ρ̄ = aL/2
would have the same total mass as the bar in this example. (This is the
physical interpretation of average mass density.)
(d) We can use the cumulative function defined in Eqn. (5.3) to figure out
where half of the mass is concentrated. Suppose we cut the bar at some
position x = s. Then the mass of this part of the bar is
s
as2
M1 = ρ (x) dx = ,
0 2
We ask for what values of s is it true that M1 is exactly half the total mass?
Using the result of part (a), we find that for this to be true, we must have
M as2 1 aL2
M1 = , ⇒ = .
2 2 2 2
D E F I N I T E I N T E G R A L A P P L I C AT I O N S : T O C A L C U L AT I N G VO L U M E , M A S S , A N D L E N G T H 111
Note: the position that subdivides the mass into two equal pieces is
analogous to the idea of a median.
x=h
Solution. Figure 5.6 shows a rough sketch of a flat surface with a colony
of bacteria growing on it. We assume that this distribution is radially sym-
metric. The density as a function of distance from the center is given by
b(r ), as shown in Figure 5.6. Note that the function describing density, b(r )
is smooth, but to accentuate the strategy of dissecting the region, we have
shown a top-down view of a ring of nearly constant density on the right in
Figure 5.6. We see that this ring occupies the region between two circles, e.g.
between a circle of radius r and a slightly bigger circle of radius r + Δr. The
D E F I N I T E I N T E G R A L A P P L I C AT I O N S : T O C A L C U L AT I N G VO L U M E , M A S S , A N D L E N G T H 113
b(r)
b(r) = 1 − r2 Δr
r
r
Top-down view
Side view (one ring)
Consider all the bacteria that are found inside a “ring” of radius r and
thickness Δr (see Figure 5.6.) The total number within such a ring is the
product of the density, b(r ) and the area of the ring, i.e.
To get the total number in the colony we sum up over all the rings from r = 0
to r = 1 and let the thickness, Δr → dr become very small. But, as with other
examples, this is equivalent to calculating a definite integral, namely:
1 1 1
Btotal = (1 − r )(2πr ) dr = 2π (1 − r2 )rdr = 2π (r − r3 )dr.
0 0 0
Thus the total number of bacteria in the entire colony is π/2 million which is
approximately 1.57 million cells.
114 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
x x
Vcylinder = πr2 h.
Vdisk = πr2 τ.
Vshell = 2πrhτ.
D E F I N I T E I N T E G R A L A P P L I C AT I O N S : T O C A L C U L AT I N G VO L U M E , M A S S , A N D L E N G T H 115
τ
h
disk
shell
y y y
x x x
finitesimal, we arrive at the true volume of the solid of revolution. The reader
should recognize a familiar theme. We used the same concept in computing
areas using Riemann sums based on rectangular strips in Chapter 2.
Figure 5.10 similarly shows a volume of revolution obtained by revolving
the graph of the continuous function y = f (x) about the x-axis. We note that
if this surface is cut into slices, the radius of the cross-sections depend on
the position of the cut. Let us imagine a stack of N disks approximating this
116 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
volume. One such disk has been pulled out and labeled for our inspection.
We note that its radius (in the y direction) is given by the height of the graph
of the function, so that r = f (x). The thickness of the disk (in the x direction)
is Δx. The volume of this single disk is then v = π [ f (x)]2 Δx. Assuming this
disk is based at the kth coordinate point in the stack, i.e. at xk , means that its
volume is
vk = π [ f (xk )]2 Δx.
Summing up the volumes of all such disks in the stack leads to the total
volume of disks
N
Vdisks = ∑ π [ f (xk )]2 Δx.
k =1
y
y = f (x) Figure 5.10: Here the solid of revolution
is formed by revolving the curve y = f (x)
about the y-axis. A typical disk used to
approximate the volume is shown. The
radius of the disk (parallel to the y-axis) is
r = y = f (x). The thickness of the disk
• • x (parallel to the x-axis) is Δx. The volume of
a b
this disk is hence v = π [ f (x)]2 Δx
r = f (x)
disk radius:
x
disk thickness: Δx
When we increase the number of disks, making each one thinner so that
Δx → 0, we arrive at a definite integral,
b
V= π [ f (x)]2 dx.
a
In most of the examples discussed in this chapter, the key step is to make
careful observation of the way that the radius of a given disk depends on the
function that generates the surface. (By this we mean the function that spec-
ifies the curve that forms the surface of revolution.) We also pay attention to
the dimension that forms the disk thickness, Δx.
Some of our examples involve surfaces revolved about the x-axis, and
others are revolved about the y-axis. In setting up these examples, a diagram
is highly recommended.
Solution. A function that describe a semi-circle (i.e. the top half of the circle,
y2 + x2 = R2 ) is
Mastered Material Check
y = f ( x ) = R2 − x 2 .
13. Give the function that describes a
In Figure 5.11, we show the sphere dissected into a set of disks, each of width semi-circle of radius 3.
Δx.
x
Δx
xk
Δx
The disks are lined up along the x-axis with coordinates xk , where −R ≤
xk ≤ R. These are just integer multiples of the slice thickness Δx = 2R/N, so
for example,
Vk = πrk2 Δx.
By the above remarks, using the fact that the function f (x) determines the
radius, we have
Vk = π [ f (xk )]2 Δx,
2
Vk = π R2 − xk2 Δx = π (R2 − xk2 )Δx.
R
x3 3
Vsphere = 2π R x − 2 = 2π R3 − R .
3 3
0
4
Vsphere = πR3 . (5.6)
3
y = f ( x ) = 1 − x2 .
0 x −1 0 1
Solution. The object has the y-axis as its axis of symmetry. Hence disks are
stacked up along the y-axis to approximate this volume. This means that the
width of each disk is Δy. This accounts for the dy in the integral below. The
volume of each disk is
Vdisk = πr2 Δy,
where the radius, r is now in the direction parallel to the x-axis. Thus we
must express radius as
r = x = f −1 (y),
√
is therefore r = x = 1 − y. The shape extends from a smallest value of y = 0
up to y = 1. Thus the volume is
1 1
V =π [ f (y)] dy = π
2
[ 1 − y]2 dy.
0 0
It is helpful to note that once we have identified the thickness of the disks
(Δy), we are guided to write an integral in terms of the variable y, i.e. to
reformulate the equation describing the curve. We compute
1 1
y2 1 π
V =π (1 − y) dy = π y − = π 1− = .
0 2 0 2 2
The above example was set up using disks. However, there are other
options. In Appendix B.4 we show yet another method, comprised of cylin-
drical shells to compute the volume of a cone. In some cases, one method is
preferable to another, but here either method works equally well.
Example 5.8 Find the volume of the surface formed by rotating the curve
√
y = f (x) = x, 0≤x≤1
(b) When the curve is rotated about the y-axis, it forms a surface with a sharp
point at the origin. The disks are stacked along the y-axis, with thickness
Δy → dy, and radii in the x direction. We must rewrite the function in the
form
x = g(y) = y2 .
We now use the interval along the y-axis, i.e. 0 ≤ y ≤ 1. The volume is then
1 1 1 1
y5 π
V =π [ f (y)] dy = π
2
[y ] dy = π
2 2
y dy = π = .
4
0 0 0 5 0 5
120 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
3. State the formula for computing the arc length of a given function.
y = f (x) y = f (x)
x x
Things are more complicated for “curves” that are not straight lines, but of- Mastered Material Check
ten these are the curves we are interested in. In this section we describe how 16. Demonstrate how the formula for
to calculate the length of such curves using the definite integral “technology”. the length of a line joining two
points is just an application of the
In Figure 5.13, we see the general idea of subdividing a curve into many Pythagorean theorem.
small “arcs”. Before we look in detail at this construction, we consider
y
a simple example, shown in Figure 5.14. In the triangle shown, by the
Pythagorean theorem we have the length of the sloped side related as follows
to the side lengths Δx, Δy:
2
Δy 2 Δy
Δ = Δx2 + Δy2 = 1 + 2 · Δx = 1 + · Δx. Δx
Δx Δx
x
as shown in the left panel of Figure 5.13. We can approximate this curve with
a set of line segments, as shown in the right panel of Figure 5.13.
To obtain these, we have selected some step size Δx along the x-axis, and
placed points on the curve at each of these x values. We connect the points
with straight line segments, and determine the lengths of those segments.
(The total length of the segments is only an approximation of the length of
the curve, but as the subdivision gets finer and finer, we arrive at the true total
length of the curve.)
We show one such segment enlarged in the circular inset in Figure 5.15.
Its slope shown at right, is given by Δy/Δx. According to our remarks above,
y = f (x)
Δy
Δx
We recognize the ratio inside the square root as the derivative, dy/dx. If our
curve is given by a function y = f (x) then we can rewrite this as
d = 1 + ( f (x))2 dx.
Thus, the length of the entire curve is obtained from summing (i.e. adding up)
these small pieces, i.e.
b
L= 1 + ( f (x))2 dx. (5.7)
a
122 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
Example 5.9 Find the length of a line whose slope is (−2) given that the
line extends from x = 1 to x = 5.
Solution. To begin, we apply the method of Equation (5.7): we are given that
the slope f (x) is (-2). The integral in question is
5 5 5√
L= 1 + ( f (x))2 dx = 1 + (−2)2 dx = 5 dx.
1 1 1
We get
√ 5 √ 5 √ √
L= 5 dx = 5x = 5[5 − 1] = 4 5.
1 1
Mastered Material Check
17. Verify the solution to Example 5.9
Example 5.10 Find an integral that represents the length of the curve that using the equation of a line and the
forms the graph of the function distance formula.
y = f ( x ) = x3 , 1 ≤ x ≤ 2.
For now, we stop. We do not attempt to find the actual length, as we must
first develop techniques for finding the anti-derivative for functions such as
√
1 + 9x4 .
Using the spreadsheet to calculate arclength. Most integrals for arc length
contain square roots and other functions that are not easy to integrate, simply
because their antiderivatives are difficult to determine. However, now that we
know the idea behind determining the length of a curve, we can approximate
the length of a curve “numerically”. The spreadsheet is a simple tool for
doing the necessary summations.
As an example, we show here how to calculate the length of the curve
y = f (x) = 1 − x2 for 0 ≤ x ≤ 1
1. the function,
2. the slopes of the little segments (change in y divided by change in x), and
from this,
3. compute the length of each segment
Δ = 1 + (Δy/Δx)2 Δx.
D E F I N I T E I N T E G R A L A P P L I C AT I O N S : T O C A L C U L AT I N G VO L U M E , M A S S , A N D L E N G T H 123
Then we compute the accumulated length along the curve from left to right,
L which is just a sum of such values. Table 5.1 shows steps in the calculation
of the ratio Δy/Δx, the value of Δ, the cumulative sum, and, finally the total
length L. The final value of L = 1.4782 represents the total length of the curve
over the entire interval 0 ≤ x ≤ 1.
x y = f (x ) Δyy /Δxx Δ L = ∑ Δ Table 5.1: For the function y = f (x) = 1 − x2 ,
and 0 ≤ x ≤ 1, we show how to calculate an
0.0 1.0000 0.0 0.0000 0.0000 approximation to the arc-length using the
0.1 0.9900 -0.1 0.1005 0.1005 spreadsheet.
0.2 0.9600 -0.3 0.1044 0.2049
0.3 0.9100 -0.5 0.1118 0.3167
0.4 0.8400 -0.7 0.1221 0.4388
0.5 0.7500 -0.9 0.1345 0.5733
0.6 0.6400 -1.1 0.1487 0.7220
0.7 0.5100 -1.3 0.1640 0.8860
0.8 0.3600 -1.5 0.1803 1.0663
0.9 0.1900 -1.7 0.1972 1.2635
1.0 0.0000 -1.9 0.2147 1.4782
we show (in brown) how the lengths of the little straight-line segments 19. Consider Figure 5.16. What is the
approximate length of the
connecting these points changes across the interval. Note that the segments curve y = 1 − x2 from x = 0
on the left along the original curve are nearly flat, so their length is very close to x = 0.5? From 0 to 1?
to Δx. The segments on the right part of the curve are much more sloped,
and their lengths are thus bigger. We also show (in green) how the total
0.5 0.5
length increment
jaw.
Paul Kulesa, a former student of James D Murray, set out to understand
the pattern of development of these teeth, based on data in the literature about
what happens at distinct stages of embryonic growth. His research considered
several questions, including
One theory proposed by Kulesa and those who worked with him was that
chemical signals that diffuse along the jaw at an early stage of development
give rise to instructions that are interpreted by jaw cells: where the signal is at
a high level, a tooth starts to initiate. This section is based on work in (?), (?) Figure 5.18: An enlargement of the teeth of
and (?). an alligator.
8
We do not address the details of the mechanism of development here, but Alligator teeth 4
we do find a simple application of arc length in the developmental sequence 11 1
6
of teething. Shown in Figure 5.17 is a smiling baby alligator. 5
2
A close up of its smile (at an earlier stage of development) reveals the 8
4 12
shape of the jaw, together with the sites at which teeth are becoming evident. 6
curve from the front of the jaw (i.e. the top of the parabola), i.e. 2
x
L(x) = 1 + [ f (s)]2 ds. 1 2 3 4 5
0
This curve measures distance along the jaw, from front to back. The Figure 5.20: Arc length along the curve of
distances of the teeth from one another, or along the curve of the jaw can be the alligator’s jaw.
D E F I N I T E I N T E G R A L A P P L I C AT I O N S : T O C A L C U L AT I N G VO L U M E , M A S S , A N D L E N G T H 125
Summary
In this chapter:
1 N
M i∑
X̄ = x i mi . (5.8)
=0
126 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
Tooth number position distance along jaw Table 5.2: Data for the appearance of teeth,
in the order in which they appear as the
x y L (x) alligator develops. We can use arc-length
1 1.95 6.35 2.1486 computations to determine the distances
2 3.45 4.40 4.7000 between successive teeth.
Importantly, the quantities mi in the sum (5.8) carry units of mass, whereas
the analogous quantities in (5.9) are ρ (x)dx. [Recall that ρ (x) is a mass
per unit length in the case of mass distributed along a bar or straight line.]
3. We defined a cumulative function. In the discrete case, this was defined as
In the continuous case, it is
x
M (x) = ρ (s)ds.
0
1. Suppose a wire has 6 beads on it of masses 0.2 kg, 1.2 kg, 42 g, 0.8 kg, 5.6kg and 0.3kg. Describe the total mass of
the wire M using summation notation.
2. Suppose the beads described above were positions at 1 cm, 5 cm, 6 cm, 8 cm, 10.5 cm and 12 cm along the wire.
Where is the wire’s center of mass?
3. Consider an object whose outer edge is generated by revolving the function y = sin(x) from 0 ≤ x ≤ 2π about the x-
axis. Sketch the resulting solid of revolution.
4. What is the total length of the function described by the following graph?
3 y
x
−1 1 2 3
Exercises
5.1. Beads on a wire. Five beads are distributed along a thin 1 dimen-
sional wire. Their masses and positions are: m1 = 5, x1 = 0; m2 =
2, x2 = 3; m3 = 1, x3 = 4; m4 = 2, x4 = 5; m5 = 10, x5 = 6.
(a) Find the total mass M of this discrete mass distribution.
(b) Find the center of mass x̄ of this discrete mass distribution.
5.2. Density of a bar. Suppose that the function ρ (x) represents the
density of a bar for a ≤ x ≤ b. Explain the distinction between:
(a) the average density of the bar, ρ̄
(b) the mass of the bar, M, and
(c) the center of mass (or centroid) of the bar, x̄.
5.3. Density of a bar. The mass density of a bar is given by
ρ (x) = 1 − x 0 ≤ x ≤ 1.
ρ (x) = ax2 , 0 ≤ x ≤ L.
(a) What is the largest value of L for which this density makes sense?
(b) Where along the highway is the congestion greatest? What is the
car density at that location?
(c) What is the total number of cars along the road?
5.7. Protein band density. The density of a band of protein along a one-
dimensional strip of gel in an electrophoresis experiment is given by
p(x) = 2(x − 1)(2 − x) for 1 ≤ x ≤ 2, where x is the distance along the
strip in cm and p(x) is the protein density (i.e. protein mass per cm) at
distance x.
(a) Graph the density p as a function of x.
(b) Find the total mass of the protein in the band for 1 ≤ x ≤ 2. (hint:
simplify the function first)
D E F I N I T E I N T E G R A L A P P L I C AT I O N S : T O C A L C U L AT I N G VO L U M E , M A S S , A N D L E N G T H 129
5.8. Air density. The air density h meters above the earth’s surface is
(a) Using the diagram shown below (Figure 5.23), explain what kind of y
generating curve
a curve in the x − y-plane we would use to generate the surface of
the cone as a surface of revolution.
r
(b) Using the proportions given in the Exercise, specify the exact x
function y = f (x) that we need to describe this “curve”.
(c) Now find the volume enclosed by this surface of revolution for
0 ≤ x ≤ 1. h
(d) Show that, in this particular case, we would have gotten the same
geometric object, and also the same enclosed volume, if we had Figure 5.23: For Exercise 5.12; finding the
volume of a cone using the disc method.
rotated the “curve” about the y-axis.
5.13. Volume of a cone. Find the volume of the cone generated by revolv-
ing the curve y = f (x) = 1 − x (for 0 ≤ x ≤ 1) about the y-axis. Use the
disk method, with disks stacked up along the y axis.
5.14. Volume of a bowl. Find the volume of the “bowl” obtained by
rotating the curve y = 4x2 about the y-axis for 0 ≤ x ≤ 1.
5.15. Kepler’s wine barrel. On his wedding day, Kepler wanted to calcu-
late the amount of wine contained inside a wine barrel whose shape
is shown below in Figure 5.24. Use the disk method to compute this
volume. You may assume that the function that generates the shape
of the barrel (as a surface of revolution) is y = f (x) = R − px2 , for
−1 ≤ x ≤ 1 where R is the radius of the widest part of the barrel. (R
and p are both positive constants.)
5.16. Volume of a paraboloid. Consider the curve
y = f ( x ) = 1 − x2 , 0 ≤ x ≤1
rotated about the y-axis. Recall that this forms a shape called a Figure 5.24: For Exercise 5.15; Kepler’s
wine barrel.
paraboloid. Use the cylindrical shell method to calculate the volume of
this shape.
Note: this technique is optional. See Appendix C for an example of
the shell method.
5.17. Volumes of solids of revolution. Find the volume of the solid ob-
tained by rotating the region bounded by the given curves f (x) and
g(x) about the specified line.
√
(a) f (x) = x − 1, g(x) = 0, from x = 2 to x = 5, about the x-axis.
√
(b) f (x) = x, g(x) = x/2, about the y-axis.
(c) f (x) = 1/x, g(x) = x3 , from x = 1/10 to x = 1, about the x-axis.
5.18. Volume of a region. Let R denote the region contained between
y = sin(x) and y = cos(x) for 0 ≤ x ≤ π/2. Write down the expression
for the volume obtained by rotating R about
(a) the x-axis.
D E F I N I T E I N T E G R A L A P P L I C AT I O N S : T O C A L C U L AT I N G VO L U M E , M A S S , A N D L E N G T H 131
Note: you might consider how the spreadsheet would help you
calculate the values of the desired function, y = f (x), rather than
trying to find an expression for it.
5.24. Work of spring. A spring has a natural length of 16 cm. When it is
stretched x cm beyond that, Hooke’s Law states that the spring pulls
back with a restoring force F = kx dyne, where the constant k is called
the spring constant, and represents the stiffness of the spring. For the
given spring, 8 dyne of force are required to hold it stretched by 2 cm.
How much work (dyne-cm) is done in stretching this spring from its
natural length to a length 24 cm?
Note: use integration to set this up.
5.25. Work of pump. Calculate the work done in pumping water out of a
parabolic container up to the height h = 10 units.
Assume that the container is a surface of revolution generated by
rotating the curve y = x2 about the y axis, that the height of the water in
the container is 10 units, that the density of water is 1 g/cm3 and that
the force due to gravity is F = mg where m is mass and g = 9.8 m/s2 .