document.write( "Question 924604: Barb pulled the plug in her bathtub and it started to drain. The amount of water in the bathtub as it drains is represented by the equation \"+L=-5t%5E2-8t%2B120+\" , where L represents the number of liters of water in the bathtub and t represents the amount of time, in minutes, since the plug was pulled. How many liters of water were in the bathtub when Barb pulled the plug? Round to the nearest tenth of a minute the amount of time it takes for all the water in the bathtub to drain. \n" ); document.write( "
Algebra.Com's Answer #560989 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
\"+L=+-5t%5E2-8t%2B120+\"
\n" ); document.write( "How many liters of water were in the bathtub when Barb pulled the plug? 120L
\n" ); document.write( "...
\n" ); document.write( "time it takes for all the water in the bathtub to drain.
\n" ); document.write( "-5t^2-8t+120 = 0 Solving (tossing out negative solution for unit measure)
\n" ); document.write( " t = 4.2 min to drain
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"-5x%5E2%2B-8x%2B120+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%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-8%29%5E2-4%2A-5%2A120=2464\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=2464 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--8%2B-sqrt%28+2464+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28-8%29%2Bsqrt%28+2464+%29%29%2F2%5C-5+=+-5.76386945839634\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28-8%29-sqrt%28+2464+%29%29%2F2%5C-5+=+4.16386945839634\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"-5x%5E2%2B-8x%2B120\" can be factored:
\n" ); document.write( " \"-5x%5E2%2B-8x%2B120+=+-5%28x--5.76386945839634%29%2A%28x-4.16386945839634%29\"
\n" ); document.write( " Again, the answer is: -5.76386945839634, 4.16386945839634.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+-5%2Ax%5E2%2B-8%2Ax%2B120+%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" );