Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   General Conversation Archives (11/2000 - 01/2005) (http://www.ironworksforum.com/forum/forumdisplay.php?f=28)
-   -   Optimization troubles (http://www.ironworksforum.com/forum/showthread.php?t=89064)

Nanobyte 01-16-2004 05:58 PM

The problem includes a 5x5 sheet of paper, and you have to cut an equal amount from each side to make a box. I'm trying to find the length of those sides for a maximum volume.

I just need a little help getting starting. I know you have to get like variables (V=x<sup>2</sup>h, I need to put h into x form), where h is the height and 2h is the sides cut from one side of the 5x5 paper.
Can anyone help me with this?

ZFR 01-16-2004 06:05 PM

Hint: Use differentiation...

Nanobyte 01-16-2004 06:50 PM

edited: I'm sorry, I don't mean to sound like a jerk. I'm just a tad overwhelmed at the moment. I've got three days to prove this problem, correct 31 questions I missed on last semester's midterm, and write twelve pages with nine prompts you could hardly write two with.

And all this for classes I don't even need. I've already got enough credits to graduate..

[ 01-16-2004, 11:04 PM: Message edited by: Nanobyte ]

Gabrielles blades 01-17-2004 01:56 PM

im prety sure a perfect cube will end up having the greatest possible volume, however you seem to be stating that the box must be rectangular?

If thats a mistake, then V=x^3
where x is equal to the square root of (5x5)/6
unless the box has no top in which case its the square root of (5x5)/5

If you need to solve this entirely by math rather than by logic then you will want to differentiate the equation as suggested above.

Nanobyte 01-17-2004 02:24 PM

As stated, a 5x5 sheet of paper:
&nbsp&nbsp_ _ _ _ _
|&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbs p&nbsp&nbsp|
|&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbs p&nbsp&nbsp|
|&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbs p&nbsp&nbsp|
|&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbs p&nbsp&nbsp|
|_ _ _ _ _|

And you cut an equal amount from all sides:
&nbsp&nbsp_ _ _
X&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspX
|&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp|
|&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp|
|&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp|
X_ _ _X

With X being 1 in this case. So the dimensions of this box would be 3x3x1, w/ an open top. Does that make any sense? It's kind of hard to explain a problem that's visual in origins.

edited: this is merely an example.

[ 01-17-2004, 02:26 PM: Message edited by: Nanobyte ]

Gabrielles blades 01-17-2004 03:11 PM

hrm, not allowed to tape little bits and pieces to form a perfect cube?
well i suppose the next best idea would be to simply create 6 equal rectangles out of the sheet.
ie, divide the horizontal into 3 portions and the vertical into 2 portions
resulting in a rectangular box with proportions of:
5/3 for the sides and 5/2 for the height.
or a total volume of (5/2)(5/3)^2

Nanobyte 01-17-2004 03:38 PM

No, no. You can't cut apart the paper. All you can do is cut the square corners off, so you can fold the ends up to make the sides of the box.

andrewas 01-17-2004 03:42 PM

That dosent fold. The question states you are removing material form the corners and folding the remainder to make the box. So if the side of the squares you remove is x, the sides of the box are 5-2x and the height is x.

V=(5-2x)^2 * x

Nanobyte 01-17-2004 03:44 PM

Haha! Yes! That's what I needed. Thanks for all the help guys.

edited: For all your viewing pleasure:

V= Ax, with A= (5-2x)<sup>2</sup>
V= (5-2x)<sup>2</sup>x
&nbsp&nbsp= (25-20x+4x<sup>2</sup>)x
&nbsp&nbsp= 4x<sup>3</sup>-20x<sup>2</sup>+25x
&nbsp&nbspV'= 12x<sup>2</sup>-40x+25=0
&nbsp&nbsp&nbsp&nbsp= (2x-5)(6x-5)=0
&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2x-5=0 6x-5=0
&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspx= <sup>5</sup>/<sub>2</sub>&nbsp&nbspx= <sup>5</sup>/<sub>6</sub>

V= (5-2(<sup>5</sup>/<sub>6</sub>))<sup>2</sup>(<sup>5</sup>/<sub>6</sub>)
&nbsp&nbsp= (5-<sup>5</sup>/<sub>3</sub>)<sup>2</sup>(<sup>5</sup>/<sub>6</sub>)
&nbsp&nbsp= (<sup>10</sup>/<sub>3</sub>)<sup>2</sup>(<sup>5</sup>/<sub>6</sub>)
&nbsp&nbsp= (<sup>100</sup>/<sub>9</sub>)(<sup>5</sup>/<sub>6</sub>)
&nbsp&nbsp= <sup>500</sup>/<sub>54</sub>= 9.26 cm<sup>3</sup>

Woohoo! [img]smile.gif[/img]

[ 01-17-2004, 04:45 PM: Message edited by: Nanobyte ]

ZFR 01-17-2004 04:35 PM

Exactly so...

V = 4x<sup>3</sup> - 20x<sup>2</sup> + 25x

dV/dx = 12x<sup>2</sup> - 40x + 25

Equating to 0:

0 = 12x<sup>2</sup> - 40x + 25

Solving for x

x<sub>1</sub> = 2.5 -- not possible in our case since you'll be left with nothing. This actually is the answer for minimum volume
x<sub>2</sub> = 5/6 -- our answer

You can further check that it's the maximum by finding the second derivative:

d<sup>2</sup>V/dx<sup>2</sup> = 24x-40

Substitutimg our value:

d<sup>2</sup>V/dx<sup>2</sup> = 24 * 5/6 - 40 = -20 < 0 -- so it's maximum


All times are GMT -4. The time now is 07:44 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved