Optimisation of a cylindrical container

AI Thread Summary
The discussion revolves around optimizing the design of a cylindrical container with a fixed volume of 400 mL while minimizing construction costs based on material pricing. The cost for the ends of the container is $0.05 per cm², and for the side walls, it is $0.04 per cm². The user initially derived the cost function and differentiated it to find the optimal radius but encountered a negative value for the radius, raising concerns about the correctness of their calculations. Clarifications were provided regarding the differentiation process, particularly correcting the derivative to include a negative sign for the side wall cost term. The conversation highlights the importance of accurate differentiation in optimization problems and the need for careful review of calculations.
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 = 2 \pi r^2
Area of side wall 2 \pi r h
V = 400, therefore since V = \pi r^2 h, h = \frac{400}{\pi r^2} (1)
Cost for one container = 0.05 (2 \pi r^2) + 0.04 (2 \pi r h) (2)
Therefore substituting (1) into (2), cost = 0.05 (2 \pi r^2) + 0.04 (2 \pi r \frac{400}{\pi r^2})
Differentiating the cost function gives: \frac {dC}{dr} = 0.2 \pi r + \frac {96}{r^2}
The value of r 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 = 2 \pi r^2
Area of side wall 2 \pi r h
V = 400, therefore since V = \pi r^2 h, h = \frac{400}{\pi r^2} (1)
Cost for one container = 0.05 (2 \pi r^2) + 0.04 (2 \pi r h) (2)
Therefore substituting (1) into (2), cost = 0.05 (2 \pi r^2) + 0.04 (2 \pi r \frac{400}{\pi r^2})
Go ahead and write this out: cost= 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: \frac {dC}{dr} = 0.2 \pi r + \frac {96}{r^2} </div> </div> </blockquote> Not quite. It gives \frac{dC}{dr}= 0.2 \pi r- \frac{64}{r^2}.<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 r 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 r^3= \frac{0.2 \pi}{32}.
 
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 derivitive of the cost being equal to \frac{dC}{dr}= 0.2 \pi r- \frac{64}{r^2}. I am not sure on how to achieve the value of 64 as i get a value of 32. My derrivitive: \frac{dC}{dr}= 0.2 \pi r- \frac{32}{r^2}. Could u please explain how this is achieved? help greatly appriciated
Pavadrin
 
Yes, I think that was a typo from Halls .
 
No, just stupidity!
 
okay, fair enough, we all make mistakes sooner or later
thanks anyhow
 
Back
Top