Optimisation of a cylindrical container

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 3K views
pavadrin
Messages
154
Reaction score
0
Hey
I am given the set volume for a cylindrical container and separating pricing for the material used to construct the container, the base and the side wall. The ends of the container cost $0.05 per cm2 and the side walls $0.04 cm2, and the volume is 400 mL. The question asks: What is the best design for the container i.e., measurements to ensure that cost is at a minimum.

_________________________________

my working:
V = 400 mL
Ends costs $0.05 per cm2
Side wall costs $0.04 cm2
Area of ends = [tex]2 \pi r^2[/tex]
Area of side wall [tex]2 \pi r h[/tex]
V = 400, therefore since V = [tex]\pi r^2 h[/tex], [tex]h = \frac{400}{\pi r^2}[/tex] (1)
Cost for one container = [tex]0.05 (2 \pi r^2) + 0.04 (2 \pi r h)[/tex] (2)
Therefore substituting (1) into (2), cost = [tex]0.05 (2 \pi r^2) + 0.04 (2 \pi r \frac{400}{\pi r^2})[/tex]
Differentiating the cost function gives: [tex]\frac {dC}{dr} = 0.2 \pi r + \frac {96}{r^2}[/tex]
The value of [tex]r[/tex] where there is no rate of change = -5.34601847

_________________________________

I am not sure if what I have done after and including the differentiation is correct. Since I have got a negative answer for the value of r, I am thinking that what I have done is wrong, as you cannot have a negative radius. Would the second derivative help with the sloving this equation, if so how?
Many thanks,
Pavadrin
 
Physics news on Phys.org
pavadrin said:
Hey
I am given the set volume for a cylindrical container and separating pricing for the material used to construct the container, the base and the side wall. The ends of the container cost $0.05 per cm2 and the side walls $0.04 cm2, and the volume is 400 mL. The question asks: What is the best design for the container i.e., measurements to ensure that cost is at a minimum.

_________________________________

my working:
V = 400 mL
Ends costs $0.05 per cm2
Side wall costs $0.04 cm2
Area of ends = [tex]2 \pi r^2[/tex]
Area of side wall [tex]2 \pi r h[/tex]
V = 400, therefore since V = [tex]\pi r^2 h[/tex], [tex]h = \frac{400}{\pi r^2}[/tex] (1)
Cost for one container = [tex]0.05 (2 \pi r^2) + 0.04 (2 \pi r h)[/tex] (2)
Therefore substituting (1) into (2), cost = [tex]0.05 (2 \pi r^2) + 0.04 (2 \pi r \frac{400}{\pi r^2})[/tex]
Go ahead and write this out: cost= [tex]0.1 \pi r^2+ \frac{32}{r}[/itex]<br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> Differentiating the cost function gives: [tex]\frac {dC}{dr} = 0.2 \pi r + \frac {96}{r^2}[/tex] </div> </div> </blockquote> Not quite. It gives [tex]\frac{dC}{dr}= 0.2 \pi r- \frac{64}{r^2}[/tex].<br /> Notice the negative sign! The derivative of r<sup>-1</sup> is -r<sup>-2</sup>.<br /> <br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> The value of [tex]r[/tex] where there is no rate of change = -5.34601847<br /> <br /> _________________________________<br /> <br /> I am not sure if what I have done after and including the differentiation is correct. Since I have got a negative answer for the value of r, I am thinking that what I have done is wrong, as you cannot have a negative radius. Would the second derivative help with the sloving this equation, if so how?<br /> Many thanks,<br /> Pavadrin </div> </div> </blockquote> <br /> You should have [tex]r^3= \frac{0.2 \pi}{32}[/tex].[/tex]
 
oh i sort of get it now, well at least more than before, thanks
 
thanks for the reply, however I am not sure how u got the derivative of the cost being equal to [tex]\frac{dC}{dr}= 0.2 \pi r- \frac{64}{r^2}[/tex]. I am not sure on how to achieve the value of 64 as i get a value of 32. My derrivitive: [tex]\frac{dC}{dr}= 0.2 \pi r- \frac{32}{r^2}[/tex]. Could u please explain how this is achieved? help greatly appriciated
Pavadrin
 
Yes, I think that was a typo from Halls .
 
okay, fair enough, we all make mistakes sooner or later
thanks anyhow