document.write( "Question 777639: a bathtub contains 20 gallons of water and is filling at a rate of 2.4 gallons per minute but the drain is open and water drains at a rate of 3.1 gallons per minute when will you discover the bathtub is empty? \n" ); document.write( "
Algebra.Com's Answer #474213 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Add the rate that the tub is filling to
\n" ); document.write( "the rate that it is emptying
\n" ); document.write( "------------------------
\n" ); document.write( "Let \"+t+\" = time in minutes to empty the tub
\n" ); document.write( "I can say:
\n" ); document.write( "\"+2.4t+-+3.1t+=+-20+\"
\n" ); document.write( "Note that the \"+-20+\" means that I end up
\n" ); document.write( "draining the tub and not filling it
\n" ); document.write( "\"+-.7t+=+-20+\"
\n" ); document.write( "\"+t+=+20%2F.7+\"
\n" ); document.write( "\"+t+=+28.571+\"| min
\n" ); document.write( "\"+.571%2A60+=+34+\"
\n" ); document.write( "The bathtub is empty in 28 min 34 sec
\n" ); document.write( "
\n" ); document.write( "
\n" );