document.write( "Question 198348: A fast train takes three hours less than the slow train for a journey of 600 km.If the speed of slow train is 10km/hr less than that of fast train.Find the speed of the two trains. \n" ); document.write( "
Algebra.Com's Answer #148824 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"f\"= the speed of the fast train in km/hr
\n" ); document.write( "Let \"s\"= the speed of the slow train in km/hr
\n" ); document.write( "Let \"t\"= the time for the fast train to go 600 km
\n" ); document.write( "given:
\n" ); document.write( "\"s+=+f+-+10\" km/hr
\n" ); document.write( "\"600+=+ft\" km
\n" ); document.write( "\"600+=+s%2A%28t+%2B+3%29\" km
\n" ); document.write( "substituting:
\n" ); document.write( "\"600+=+%28f+-+10%29%2A%28t+%2B+3%29\"
\n" ); document.write( "----------------------------
\n" ); document.write( "\"600+=+ft+-+10t+%2B+3f+-+30\"
\n" ); document.write( "and since \"600+=+ft\",
\n" ); document.write( "\"600+=+600+-+10t+%2B+3f+-+30\"
\n" ); document.write( "\"0+=+3f+-+10t+-+30\"
\n" ); document.write( "\"3f+=+10t+%2B+30\"
\n" ); document.write( "\"f+=+10%2A%28t%2F3+%2B+1%29\"
\n" ); document.write( "substitute back into
\n" ); document.write( "\"600+=+ft\"
\n" ); document.write( "\"600+=+10%2A%28t%2F3+%2B+1%29%2At\"
\n" ); document.write( "\"600+=+%2810%2F3%29%2At%5E2+%2B+10t\"
\n" ); document.write( "\"1800+=+10t%5E2+%2B+30t\"
\n" ); document.write( "\"t%5E2+%2B+3t+-+180+=+0\"
\n" ); document.write( "Use quadratic formula
\n" ); document.write( "\"x+=+%28-b+%2B-+sqrt%28+b%5E2-4%2Aa%2Ac+%29%29%2F%282%2Aa%29+\"
\n" ); document.write( "\"a+=+1\"
\n" ); document.write( "\"b+=+3\"
\n" ); document.write( "\"c+=+-180\"
\n" ); document.write( "\"t+=+%28-3+%2B-+sqrt%28+3%5E2-4%2A1%2A%28-180%29+%29%29%2F%282%2A1%29+\"
\n" ); document.write( "\"t+=+%28-3+%2B-+sqrt%28+9+%2B+720+%29%29%2F2+\"
\n" ); document.write( "\"t+=+%28-3+%2B-+27%29%2F2+\"
\n" ); document.write( "\"t+=+%2827+-+3%29%2F2\" (ignore negative answer)
\n" ); document.write( "\"t+=+12\"
\n" ); document.write( "and, since
\n" ); document.write( "\"600+=+ft\"
\n" ); document.write( "\"600+=+12f\"
\n" ); document.write( "\"f+=+50\" km/hr
\n" ); document.write( "also,
\n" ); document.write( "\"600+=+s%2A%28t+%2B+3%29\"
\n" ); document.write( "\"600+=+15s\"
\n" ); document.write( "\"s+=+40\" km/hr
\n" ); document.write( "The speed of the fast train is 50 km/hr and
\n" ); document.write( "the speed of the slow train is 40 km/hr
\n" ); document.write( "
\n" );