document.write( "Question 982518: A rectangular garden has an area of 84 sq meters and a perimeter of 38 meters. Find its length. \n" ); document.write( "
Algebra.Com's Answer #603371 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "L=length; W=width; A=Area; P=perimeter
\n" ); document.write( ".
\n" ); document.write( "P=2(L+W)
\n" ); document.write( "38m=2(L+W)
\n" ); document.write( "19m=L+W
\n" ); document.write( "19m-L=W
\n" ); document.write( ".
\n" ); document.write( "A=LW
\n" ); document.write( "84m^2=LW
\n" ); document.write( "84m^2=L(19m-L)
\n" ); document.write( "84m^2=19Lm-L^2
\n" ); document.write( "0=-L^2+19Lm-84m^2
\n" ); document.write( "0=L^2-19Lm+84m^2\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"aL%5E2%2BbL%2Bc=0\" (in our case \"1L%5E2%2B-19L%2B84+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"L%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%28-19%29%5E2-4%2A1%2A84=25\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=25 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--19%2B-sqrt%28+25+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"L%5B1%5D+=+%28-%28-19%29%2Bsqrt%28+25+%29%29%2F2%5C1+=+12\"
\n" ); document.write( " \"L%5B2%5D+=+%28-%28-19%29-sqrt%28+25+%29%29%2F2%5C1+=+7\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1L%5E2%2B-19L%2B84\" can be factored:
\n" ); document.write( " \"1L%5E2%2B-19L%2B84+=+1%28L-12%29%2A%28L-7%29\"
\n" ); document.write( " Again, the answer is: 12, 7.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B-19%2Ax%2B84+%29\"

\n" ); document.write( "\n" ); document.write( "Length is 12 meters or 7 meters
\n" ); document.write( "(If length is 12m, width is 7m, if length is 7m width is 12m)
\n" ); document.write( "
\n" );