document.write( "Question 1130466: Matt is building a new barn, with length 10 yards more than the width. While determining the footprint of the barn, he measured the diagonal as 50 yards. What will be the dimensions of the barn? \n" ); document.write( "
Algebra.Com's Answer #747136 by ikleyn(52864)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "Answer.  Dimensions are 30 yards by 40 yards.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Classic  (3,4,5)-right angled triangle.\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Algebra solution\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "x^2 + (x+10)^2 = 50^2\r\n" );
document.write( "\r\n" );
document.write( "x^2 + x^2 + 20x + 100 = 2500\r\n" );
document.write( "\r\n" );
document.write( "2x^2 + 20x + (100-2500) = 0\r\n" );
document.write( "\r\n" );
document.write( "2x^2 + 20x - 2400 = 0\r\n" );
document.write( "\r\n" );
document.write( "x^2 + 10x - 1200 = 0\r\n" );
document.write( "\r\n" );
document.write( "(x-30)*(x+40) = 0\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The only positive root  x= 30  is meaninful, leading to the answer.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );