document.write( "Question 936907: Two trains pass each other in opposite directions. After 18 seconds the Locomotives are 500 m apart. If they travel at the same speeds in the same direction, they are 50 m apart after 15 seconds. Find the speeds of the two trains in km per hour. \n" ); document.write( "
Algebra.Com's Answer #570373 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Two trains pass each other in opposite directions.
\n" ); document.write( " After 18 seconds the Locomotives are 500 m apart.
\n" ); document.write( " If they travel at the same speeds in the same direction, they are 50 m apart after 15 seconds.
\n" ); document.write( " Find the speeds of the two trains in km per hour.
\n" ); document.write( ":
\n" ); document.write( "let a = speed of one train (meters/sec)
\n" ); document.write( "let b = speed of the other train
\n" ); document.write( ":
\n" ); document.write( "Write two distance equations, one for each way. dist = time * speed
\n" ); document.write( ":
\n" ); document.write( "18(a+b) = 500, going opposite directions, their speeds are additive
\n" ); document.write( "15(a-b) = 50, going the same direction, their speed are subtracted
\n" ); document.write( ":
\n" ); document.write( "18a + 18b = 500
\n" ); document.write( "15a - 15b = 50
\n" ); document.write( ":
\n" ); document.write( "multiply the first equation by 5, the 2nd equation by 6
\n" ); document.write( "90a + 90b = 2500
\n" ); document.write( "90a - 90b = 300
\n" ); document.write( "------------------Adding eliminates b, find a
\n" ); document.write( "180a = 2800
\n" ); document.write( "a = 2800/180
\n" ); document.write( "a = 15.555 m/sec
\n" ); document.write( "Convert to km/hr
\n" ); document.write( "\"%283600%2A15.5555%29%2F1000\" = 56 km/hr, speed of train a
\n" ); document.write( ":
\n" ); document.write( "find b using the 1st equation
\n" ); document.write( "18(15.555) + 18b = 500
\n" ); document.write( "18b = 500 - 278
\n" ); document.write( "18b = 220
\n" ); document.write( "b = 220/18
\n" ); document.write( "b = 12.222 m/sec
\n" ); document.write( "convert to km/hr
\n" ); document.write( "\"%283600%2A12.222%29%2F1000\" = 44 km/hr, speed of train b
\n" ); document.write( ":
\n" ); document.write( ";
\n" ); document.write( "Confirm this using these values (m/sec) in the 2nd equation
\n" ); document.write( "15(15.555) - 15(12.222) =
\n" ); document.write( "233.3 - 183.3 = 50 m
\n" ); document.write( "
\n" ); document.write( "
\n" );