|
-
Dec 6th, 2003, 05:59 PM
#1
Thread Starter
Lively Member
Related Rates... I think
Suppose i have a closed box, the volume of this box is fixed, say, 60in^3.
The material for the top and the bottom of the box cost twice as much as the material for the sides. How would I go about minimizing the costs. I know it has something to do with taking the derivative = 0, but other than that, i'm stumped... Any help here would be much appreciated.
"Have you ever woken up, looked at yourself in the mirror, and said 'screw the diet, how fat can i possibly get'?"
-
Dec 6th, 2003, 09:26 PM
#2
transcendental analytic
hints:
1. make a function height->cost
2. assume width and length are equal (unless you have to prove that they must be to maximize bottom/top area)
3. the second derivative has to be positive as well (otherways its a local maximum)
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|