document.write( "Question 232546: Pipe A can fill a tank in 5 hours. Pipe B can fill the tank in 2 hours less time than it takes pipe C to empty it. With all pipes open it takes 3 hours to fill the tank. How long will it take pipe C to empty the tank? \n" ); document.write( "
Algebra.Com's Answer #171824 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Pipe A can fill a tank in 5 hours. Pipe B can fill the tank in 2 hours less time than it takes pipe C to empty it. With all pipes open it takes 3 hours to fill the tank. How long will it take pipe C to empty the tank?
\n" ); document.write( ":
\n" ); document.write( "Let x = time required by pipe C to empty a full tank
\n" ); document.write( "then
\n" ); document.write( "(x-2) = time for Pipe B to fill the tank
\n" ); document.write( ":
\n" ); document.write( "Let the full tank = 1
\n" ); document.write( ";
\n" ); document.write( "Filling +, emptying -
\n" ); document.write( ":
\n" ); document.write( "Pipe A + Pipe B - Pipe C = a full tank
\n" ); document.write( "\"3%2F5\" + \"3%2F%28x-2%29\" - \"3%2Fx\" = 1
\n" ); document.write( ":
\n" ); document.write( "Multiply equation by 5x(x-2), results
\n" ); document.write( "3x(x-2) + 5x(3) - 5(x-2)(3) = 5x(x-2)
\n" ); document.write( ";
\n" ); document.write( "3x^2 - 6x + 15x - 15(x-2) = 5x^2 - 10x
\n" ); document.write( ":
\n" ); document.write( "3x^2 - 6x + 15x - 15x + 30 = 5x^2 - 10x
\n" ); document.write( ":
\n" ); document.write( "3x^2 - 6x + 30 = 5x^2 - 10x
\n" ); document.write( ":
\n" ); document.write( "0 = 5x^2 - 3x^2 - 10x + 6x - 30
\n" ); document.write( ":
\n" ); document.write( "0 = 2x^2 - 4x - 30
\n" ); document.write( ":
\n" ); document.write( "Simplify divide by 2
\n" ); document.write( "x^2 - 2x - 15 = 0
\n" ); document.write( ":
\n" ); document.write( "Factors to:
\n" ); document.write( "(x-5)(x+3) = 0
\n" ); document.write( "Positive solution
\n" ); document.write( "x = 5 hrs, time pipe C needs to empty a full tank
\n" ); document.write( "then
\n" ); document.write( "5 - 2 = 3 hrs for pipe B to fill the tank
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Since pipe A fills in 5 hrs and pipe C empties in 5 hrs we're left with pipe B which fills it in 3 hrs
\n" ); document.write( "
\n" ); document.write( "
\n" );