document.write( "Question 192307: A rectangle has a diagonal that measures 10 centimeters and lengh that is 2 centimeters longer than the width. What is the width of the rectangle in centimeters? \n" ); document.write( "
Algebra.Com's Answer #144337 by orca(409)\"\" \"About 
You can put this solution on YOUR website!
Note that the width, length and the diagonal form a right triangle, the diagonal is the hypotenuse.\r
\n" ); document.write( "\n" ); document.write( "Let the width be x, then the length is x + 2.\r
\n" ); document.write( "\n" ); document.write( "Now use the pythagorean theorem to set up an equation:
\n" ); document.write( "\"x%5E2%2B%28x%2B2%29%5E2+=+10%5E2\"\r
\n" ); document.write( "\n" ); document.write( "Solving the equation, we have
\n" ); document.write( "\"x%5E2%2Bx%5E2%2B4x%2B4=100\"
\n" ); document.write( "\"2x%5E2%2B4x-96=0\"
\n" ); document.write( "\"x%5E2%2B2x-48=0\"
\n" ); document.write( "\"%28x-6%29%28x%2B8%29=0\"
\n" ); document.write( "So
\n" ); document.write( "x=6, or x=-8(reject this negative root)\r
\n" ); document.write( "\n" ); document.write( "So the width is 6cm, and the length is x+2=8 cm.
\n" ); document.write( "
\n" ); document.write( "
\n" );