document.write( "Question 375207: find the sides of a rectangle whose perimeter is 40 and diagonal is 18? \n" ); document.write( "
Algebra.Com's Answer #266829 by unlockmath(1688)\"\" \"About 
You can put this solution on YOUR website!
Hello,
\n" ); document.write( "Lets have x be the width and y be the length. We can set up two equations as:
\n" ); document.write( "2x+2y=40
\n" ); document.write( "x^2+y^2=18^2
\n" ); document.write( "With the first equation lets do this:
\n" ); document.write( "y=20-x
\n" ); document.write( "Now substitute this into the second equation:
\n" ); document.write( "x^2+(-x+20)^2=18^2
\n" ); document.write( "This can be rewritten as:
\n" ); document.write( "x^2+x^2-40x+400=324
\n" ); document.write( "Subtract 324 from both sides and combine like terms to get:
\n" ); document.write( "2x^2-40x+76=0
\n" ); document.write( "Rewritten as:
\n" ); document.write( "2(x^2-20x+38)=0
\n" ); document.write( "From here you can use the quadratic formula to solve for x and then you can solve for y.
\n" ); document.write( "Got it?
\n" ); document.write( "RJ
\n" ); document.write( "www.math-unlock.com
\n" ); document.write( "
\n" );