document.write( "Question 1055877: A bathtub can be filled by the cold water faucet in 5 minutes and by the hot water faucet in 20 minutes. How long does it take to fill the tub if both faucets are open? \n" ); document.write( "
Algebra.Com's Answer #671033 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Add the rates of filling
\n" ); document.write( "For the cold water faucet:
\n" ); document.write( "rate of filling = [ 1 bathtub filled ] / [ 5 min ]
\n" ); document.write( "For the hot water faucet:
\n" ); document.write( "rate of filling = [ 1 bathtub filled ] / [ 20 min ]
\n" ); document.write( "-------------------------------------------
\n" ); document.write( "Let \"+t+\" = time in minutes to fill tub with both
\n" ); document.write( "faucets open
\n" ); document.write( "\"+1%2F5+%2B+1%2F20+=+1%2Ft+\"
\n" ); document.write( "Multiply both sides by \"+20t+\"
\n" ); document.write( "\"+4t+%2B+t+=+20+\"
\n" ); document.write( "\"+5t+=+20+\"
\n" ); document.write( "\"+t+=+4+\"
\n" ); document.write( "-------------------
\n" ); document.write( "With both faucets open the tub is filled in 4 min
\n" ); document.write( "--------------------
\n" ); document.write( "check:
\n" ); document.write( "\"+4%2F20+%2B+1%2F20+=+1%2Ft+\"
\n" ); document.write( "\"+4%2F20+%2B+1%2F20+=+1%2F4+\"
\n" ); document.write( "\"+5%2F20+=+5%2F20+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );