document.write( "Question 1000879: Suppose you want to make a closed box with a square base. The material for the top and the bottom of the box costs $2 per sq in and the material for the sides costs $3 per sq in. What are the dimensions of the box of the greatest volume that can be constructed for $60? \n" ); document.write( "
Algebra.Com's Answer #618228 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
you can solve this graphically or you can solve it using calculus.
\n" ); document.write( "i don't know any other ways.
\n" ); document.write( "the graphical solution is shown below:
\n" ); document.write( "\"$$$\"
\n" ); document.write( "that 2.236 turns out to be sqrt(5).
\n" ); document.write( "the value of x is sqrt(5).
\n" ); document.write( "the value of y is 7.454\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x is the length of a side of the square base.
\n" ); document.write( "y is the volume.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula for volume is derived as follows:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "s = measure of one of the sides of the base.
\n" ); document.write( "h = measure of the height.
\n" ); document.write( "area of the base = s^2
\n" ); document.write( "volume = s^2*h\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "surface area is derived as follows:
\n" ); document.write( "sa = 2*s^2 + 4*h*s\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "cost of surface area is derived as follows:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "cost of the base material is equal to 2 * the area of the base.
\n" ); document.write( "cost of the side material is equal to 3 * the area of the sides between the 2 bases.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the total cost is there equal to 2 * area of the bases plus 3 * area of the side faces.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you get total cost = 2 * (2s^2) + 3*(4hs) which becomes:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "total cost = 4s^2 + 12hs\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since total cost is 60, you get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "60 = 4s^2 + 12hs\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in this equation, you can solve for h as follows:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "subtract 4s^2 from both sides to get:
\n" ); document.write( "60 - 4s^2 = 12hs
\n" ); document.write( "divide both sides by 12s to get:
\n" ); document.write( "(60-4s^2) / 12s = h\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the volume is equal to s^2*h
\n" ); document.write( "replace h with (60-4s^2)/12s to get:
\n" ); document.write( "volume = s^2 * (60-4s^2)/12s
\n" ); document.write( "factor out an s from the numerator and denominator and you get:
\n" ); document.write( "volume = s*(60-4s^2)/12\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to graph this equation, make volume = y and make s = x.
\n" ); document.write( "formula becomes:
\n" ); document.write( "y = x*(60-4x^2)/12
\n" ); document.write( "this is the equation that was graphed above.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to solve this using calculus, get the derivative of the equation and set it equal to 0 and solve for x to find the maximum point on the graph.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the derivative turns out to be y' = 5-x^2
\n" ); document.write( "set it equal to 0 and you get 0 = 5-x^2
\n" ); document.write( "add x^2 to both sides to get x^2 = 5
\n" ); document.write( "take square root of both sides to get x = +/- sqrt(5).
\n" ); document.write( "it has to be sqrt(5) because negative values are not allowed.
\n" ); document.write( "the derivative is telling you that you need to evalute your equation at x = sqrt(5) to find the maximum volume.
\n" ); document.write( "that turns out to be same as what the graph is showing you.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the more detailed answer is:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = s = 2.236068
\n" ); document.write( "y volume = 7.4535599\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "round these to x = 2.236 and y = 7.454\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x is equal to s which is the width
\n" ); document.write( "y is the volume\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the volume is s^2*h
\n" ); document.write( "you can use this formula to solve for h.
\n" ); document.write( "from this formula, solve for h to get h = v/s^2.
\n" ); document.write( "that becomes h = 7.4535599/2.236068 = 1.49071195
\n" ); document.write( "round to 3 decimal place to get h = 1.491\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the dimension of the box with the greatest volume that has a surface area that costs 60 dollars is therefore:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "s = 2.236
\n" ); document.write( "h = 1.491\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if you recall, we made s = x when we graphed it.
\n" ); document.write( "when we found x, we automatically found s because they're equivalent to each other.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "surface area = 2 * s^2 + 4hs\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "cost for surface area = 4s^2 + 12hs\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when s = 2.236 and h = 1.491, we get cost for surface area = 59.999999999 which rounds to 60.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we got the maximum volume for a box that has a total cost for surface area of 60 dollars.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "derivative was found using the following derivative calculator.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the calculator is very useful when you're not sure how to find the derivative.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "http://www.derivative-calculator.net/#\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );