document.write( "Question 251684: Problem: Originally, a rectangle was three times as long as it is wide. When 2 cm were subtracted from the length and 5 cm were added to the width, the resulting rectangle had an area of 90 cm squared. Find the dimensions of the new rectangle.\r
\n" ); document.write( "\n" ); document.write( "hmmmm, I tried this problem...but I keep getting decimal answers when solving :/ We are supposed to use only one variable in the actual equation, and use Quadratic equations to solve. \r
\n" ); document.write( "\n" ); document.write( "My Attempt:\r
\n" ); document.write( "\n" ); document.write( "w=width
\n" ); document.write( "l=length
\n" ); document.write( "l=3w\r
\n" ); document.write( "\n" ); document.write( "Formula-
\n" ); document.write( "A=width(length)
\n" ); document.write( "(3w-2)(w+5)=90
\n" ); document.write( "Then I foiled and got:
\n" ); document.write( "3w^2+13w-100=0
\n" ); document.write( "And I get stuck there :/ I don't think it factors and I'm not sure if I foiled wrong or set it up wrong. :/ Help me, please? Thanks :)\r
\n" ); document.write( "\n" ); document.write( "I put this under Algebra, although I am in Algebra II, I hope that is fine :D
\n" ); document.write( "

Algebra.Com's Answer #183356 by jsmallt9(3758)\"\" \"About 
You can put this solution on YOUR website!
\"%283w-2%29%28w%2B5%29=90\"
\n" ); document.write( "Then I foiled and got:
\n" ); document.write( "\"3w%5E2%2B13w-100=0\"
\n" ); document.write( "And I get stuck there :/ I don't think it factors and I'm not sure if I foiled wrong or set it up wrong. :/ Help me, please? Thanks :)
\n" ); document.write( "======================================================
\n" ); document.write( "This is all good. If you think this trinomial does not factor, then use the quadratic formula on it. (This trinomial actually does factor but the quadratic formula still works.)
\n" ); document.write( "\"w+=+%28-b+%2B-+sqrt%28b%5E2+-+4ac%29%29%2F2a\"
\n" ); document.write( "Your a = 3, b = 13 and c = -100:
\n" ); document.write( "\"w+=+%28-%2813%29+%2B-+sqrt%28%2813%29%5E2+-+4%283%29%28-100%29%29%29%2F2%283%29\"
\n" ); document.write( "\"w+=+%28-13+%2B-+sqrt%28169+-+4%283%29%28-100%29%29%29%2F6\"
\n" ); document.write( "\"w+=+%28-13+%2B-+sqrt%28169+%2B+1200%29%29%2F6\"
\n" ); document.write( "\"w+=+%28-13+%2B-+sqrt%281369%29%29%2F6\"
\n" ); document.write( "\"w+=+%28-13+%2B-+37%29%2F6\"
\n" ); document.write( "\"w+=+%28-13+%2B+37%29%2F6\" or \"w+=+%28-13+-+37%29%2F6\"
\n" ); document.write( "\"w+=+24%2F6\" or \"w+=+%28-50%29%2F6\"
\n" ); document.write( "\"w+=+4\" or \"w+=+%28-25%29%2F3\"
\n" ); document.write( "Since w represents the side of a rectangle we will reject the negative solution. So the only possible value for w that works is w = 4. And that makes the original length, which is 3w, 12.

\n" ); document.write( "BTW: \"3w%5E2%2B13w-100=0\" factors into:
\n" ); document.write( "\"%283w+%2B+25%29%28w+-+4%29+=+0\"
\n" ); document.write( "And this gives us the same answers as the quadratic formula did.
\n" ); document.write( "
\n" );