document.write( "Question 957901: Please help me solve this question:
\n" ); document.write( "You will be constructing a rectangular deck against your bungalow, using 32 feet of railing and will leave a 4 foot gap in the railing for access to the stairs. Determine the dimensions that will maximize the area of the deck, and the maximum area. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "What work I've done so far:
\n" ); document.write( "- The deck only has 3 sides (32 ft railing and a 4 ft gap)
\n" ); document.write( "36/3 = 3S/3
\n" ); document.write( "= 12 for Width of each side (therefore 12ft squared is the max area of the deck)\r
\n" ); document.write( "\n" ); document.write( "For max area I did
\n" ); document.write( "A= l x W
\n" ); document.write( "A= (12)X (12)
\n" ); document.write( "A= 144, Therefore 144 ft squared is the max area)\r
\n" ); document.write( "\n" ); document.write( "Gap for railing = 4ft.
\n" ); document.write( "A= max area - gap
\n" ); document.write( "A= 144-4
\n" ); document.write( "A= 140 ft squared.\r
\n" ); document.write( "\n" ); document.write( "Any help will be greatly appreciated!!
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #585421 by addingup(3677)\"\" \"About 
You can put this solution on YOUR website!
Total perimeter (3 sides only): 32+4= 36 (32 of railing + 4ft opening for stairs)
\n" ); document.write( "I’ll call the Length X and the Width Y:
\n" ); document.write( "Maximize A = area of the rectangle = (Length)(Width) = X*Y
\n" ); document.write( "given a perimeter of X+2Y= 36 (only 1 X, the other is against the bungalow-see my illustration)
\n" ); document.write( "----------------------------------------
\n" ); document.write( "Now we need to solve for one of the variables. Since X+2Y= 36,
\n" ); document.write( "2Y= 36-X; Y= (36-X)/2; Y= 18- X/2
\n" ); document.write( "---------------------------------------
\n" ); document.write( "Now that we solved for Y, we have that:
\n" ); document.write( "A= X*Y= X*(18- X/2)= 18X-X^2/2
\n" ); document.write( "-----------------------------------
\n" ); document.write( "We want to maximize A:
\n" ); document.write( "A’= 18-X. The only time A’=0 is when X= 18.
\n" ); document.write( "So, 0<=X<=36. Why? Because we make it such that the only critical points of A are when X=0, 18, and 36, and the maximum area will be given by one of them.
\n" ); document.write( "Here we go:
\n" ); document.write( "At the critical number X= 0: A= 18(0) - (0)^2/2= 0 square feet – toss this answer out.
\n" ); document.write( "At the critical number X= 18: A= 18(18) – (18)^2/2 = 162
\n" ); document.write( "At the critical number X= 36: A= 18(36) – (36)^2/2 = 0 – toss this one out, too.\r
\n" ); document.write( "\n" ); document.write( "So our largest possible area is 162 square feet and the dimensions are: length (X)= 18 feet and width (Y)= 18 - X/2= 18 - 9= 9 feet.
\n" ); document.write( "Check: 18 + 2(9)= 36 feet, 32 of railing+4 feet opening on the railing for the stairs.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );