document.write( "Question 242596: A water tank has an inlet pipe and a drain pipe.
\n" ); document.write( "A full tank can be emptied in 30 minutes if the drain is opened and an empty tank can be filled in 45 minutes with the inlet pipe opened.
\n" ); document.write( " If both pipes are accidentally opened when the tank is full, then how long will it take to
\n" ); document.write( "empty the tank?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #177949 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A water tank has an inlet pipe and a drain pipe.
\n" ); document.write( " A full tank can be emptied in 30 minutes if the drain is opened and an empty tank can be filled in 45 minutes with the inlet pipe opened.
\n" ); document.write( "If both pipes are accidentally opened when the tank is full, then how long will it take to empty the tank?
\n" ); document.write( ":
\n" ); document.write( "let t = time (in minutes) to empty with both valves open
\n" ); document.write( ":
\n" ); document.write( "Let 1 = the completed job (an empty tank)
\n" ); document.write( ":
\n" ); document.write( "Plus is draining, minus is filling
\n" ); document.write( ":
\n" ); document.write( "\"t%2F30\" - \"t%2F45\" = 1
\n" ); document.write( "Multiply by 90, get rid of the denominators, results:
\n" ); document.write( "3t - 2t = 90
\n" ); document.write( "t = 90 minutes to empty with both valves open
\n" ); document.write( "
\n" );