document.write( "Question 481406: Hello,
\n" ); document.write( "I am having a problem with the question \"the length of a rectangle exceeds the width by 2 cm. If the diagonal is 10 cm long, find the width of the rectangle. I keep getting different answers.
\n" ); document.write( "Thanks in advance!
\n" ); document.write( "

Algebra.Com's Answer #329662 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
the length of a rectangle exceeds the width by 2 cm. If the diagonal is 10 cm long, find the width of the rectangle.
\n" ); document.write( ".
\n" ); document.write( "Let w = width
\n" ); document.write( "then
\n" ); document.write( "w+2 = length
\n" ); document.write( ".
\n" ); document.write( "applying Pythagorean theorem we have:
\n" ); document.write( "w^2 + (w+2)^2 = 10^2
\n" ); document.write( "w^2 + (w+2)(w+2) = 100
\n" ); document.write( "w^2 + (w^2+4w+4) = 100
\n" ); document.write( "2w^2+4w+4 = 100
\n" ); document.write( "w^2+2w+2 = 50
\n" ); document.write( "w^2+2w-48 = 0
\n" ); document.write( "(w+8)(w-6) = 0
\n" ); document.write( "w = {-8, 6}
\n" ); document.write( "throw out the negative solution leaving:
\n" ); document.write( "w = 6 cm
\n" ); document.write( "
\n" );