5 Engineering Example 1
5.1 Plastic bottle design
Introduction
Manufacturing containers is a large and varied industry and optimum packaging can save companies millions of pounds. Although determining the capacity of a container and amount of material needed can be done by physical experiment, mathematical modelling provides a cost-effective and efficient means for the designer to experiment.
Problem in words
A manufacturer is designing a new plastic bottle to contain 900 ml of fabric softener. The bottle is circular in cross section, with a varying radius given by
where z is the height above the base in cm.
- Find an expression for the volume of the bottle and hence show that the fill level needs to be approximately 18 cm.
- If the wall thickness of the plastic is 1 mm, show that this is always small compared to the bottle radius.
- Hence, find the volume of plastic required to manufacture a bottle which is 20 cm tall (include the plastic in the base and side walls), using a numerical method.
A graph the radius against z is shown below:
Figure 10
Mathematical statement of problem
Calculate all lengths in centimetres.
- The formula for the volume of a solid of revolution, revolved round the z axis between and is . We have to evaluate this integral.
- To show that the thickness is small relative to the radius we need to find the minimum radius.
-
Given that the thickness is small compared with the radius, the volume can be taken to be the surface area times the thickness. Now the surface area of the base is easy to calculate being
, but we also need to calculate the surface area for the sides, which is much harder.
For an element of height this is (the slant height) of the surface between and . The slant height is, analytically , or equivalently the distance between and , which is easier to use numerically.
Analytically the surface area to height is ; we shall approximate this numerically. This will give the area of the side surface.
Mathematical analysis
-
We could calculate this integral exactly, as the volume is
but here we do this numerically (which can often be a simpler approach and possibly is so here). To do that we need to keep an eye on the likely error, and for this problem we shall ensure the error in the integrals is less than 1 ml. The formula for the error with the trapezium rule, with step
and integrated from 0 to 20 (assuming from the problem that we shall not integrate over a larger range) is
. Doing this crudely with
where
we see that
(using only positive signs and )
and ,
and .
Therefore
, so max .
We need , or . We will use , and the error will be at most .
The approximation to the integral from to is
(recalling the multiplying factor is a half for the first and last entries in the trapezium rule). This yields a value of , which is certainly within ml of .
- From the graph the minimum radius looks to be about at about . Looking more exactly (found by solving the quadratic to find the places where the derivative is zero, or by plotting the values and by inspection), the minimum is at , when cm. So the thickness is indeed small (always less than of the radius at all places.)
-
For the area of the side surface we shall calculate
numerically, using the trapezium rule with step
as before.
, which we shall approximate at point
by
, so evaluating
at intervals of
gives the approximation
.
Calculating this gives . Approximating the analytical expression by a direct numerical calculation gives . (The answer is between and , so this variation is understandable and does not indicate an error.) The bottom surface area is , so the total surface area we may take to be , and hence the volume of plastic is .
Mathematical comment
An alternative to using the trapezium rule is Simpson’s rule which will require many fewer steps.
When using a computer program such as Microsoft Excel having an efficient method may not be important for a small problem but could be significant when many calculations are needed or computational power is limited (such as if using a programmable calculator).
The reader is invited to repeat the calculations for (1) and (3) using Simpson’s rule.
The analytical answer to (1) is given by
which gives to 4 d.p.
Exercises
-
Using 4 subintervals in the composite trapezium rule approximate
-
The function
is known to have a second derivative with the property that
for between 2 and 3. Using the error bound given earlier in this Section determine how many subintervals are required so that the composite trapezium rule used to approximate
can be guaranteed to have an error in it that is less than 0.001.
-
Using 4 subintervals in the composite Simpson rule approximate
-
The function
is known to have a fourth derivative with the property that
for between and 5 . Determine how many subintervals are required so that the composite Simpson’s rule used to approximate
incurs an error that is less than 0.001.
-
Determine the minimum number of steps needed to guarantee an error not exceeding
when numerically evaluating
using Simpson’s rule.
-
In this case
. We require
evaluated at five
-values and the results are tabulated below
It follows that
-
We require that
This implies that
.
Now and it follows thatClearly, must be a whole number and we conclude that the smallest number of subintervals which guarantees an error smaller than 0.001 is .
-
In this case
.
We require evaluated at five -values and the results are as tabulated in the solution to Exercise 1. It follows that - We require that This implies that and therefore . Now and it follows that We know that must be an even whole number and we conclude that the smallest number of subintervals which guarantees an error smaller than 0.001 is .
-
Now so