document.write( "Question 760994: A closed rectangular box is to be constructed with a square base. The material for the top costs $2 per square foot whereas the material for the remaining sides costs $1 per square foot. If the total cost to construct each box is $36, express the volume of the box in terms of the width of the base. \n" ); document.write( "
Algebra.Com's Answer #463000 by josgarithmetic(39618)\"\" \"About 
You can put this solution on YOUR website!
The square bottom and top have a side length, w. The rectangular box is height h. Using w and h, the volume of the box is this:\r
\n" ); document.write( "\n" ); document.write( "\"v=h%2Aw%5E2\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The volume will also depend on the cost of the six sides making the box.
\n" ); document.write( "Top: \"+w%5E2%2A2\" dollars
\n" ); document.write( "Bottom: \"w%5E2%2A1\" dollar
\n" ); document.write( "One side: \"h%2Aw%2A1\"
\n" ); document.write( "Cost of the box: \"2w%5E2%2Bw%5E2%2B4hw=36\"______see the factor 4 for the four sides.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We want v as a function of w. We can get this solving the cost equation for h.\r
\n" ); document.write( "\n" ); document.write( "\"4hw=36-2w%5E2-w%5E2\"
\n" ); document.write( "\"h=36%2F%284w%29-3w%5E2%2F%284w%29\"
\n" ); document.write( "\"h=9%2Fw-%283%2F4%29w\"______________Next, substitute this for h in the volume equation, v.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"v=%289%2Fw-%283%2F4%29w%29w%5E2\"
\n" ); document.write( "\"highlight%28v=9w-%283%2F4%29w%5E3%29\"
\n" ); document.write( "
\n" );