document.write( "Question 1157: Two trains, one 500 meters long and the other 1000 meters long, are traveling in opposite directions on parallel tracks. The first train is traveling at 100km/h and the other at 80km/h. How long will it take for the trains to pass each other from the moment the locomotives are at the same point?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #348 by khwang(438)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( " The diagram as below.\r
\n" ); document.write( "\n" ); document.write( " 500 m 100 km/h ->
\n" ); document.write( " A<------>B (1st train)
\n" ); document.write( " C<------------->D (2nd train)
\n" ); document.write( " <- 80 km/h 1000 m
\n" ); document.write( " When they pass each other after t hrs,diagram as
\n" ); document.write( " A B
\n" ); document.write( " <------>
\n" ); document.write( " <------------->
\n" ); document.write( " C D
\n" ); document.write( " After t hrs, B moves 100 t km and C moves 80 t km.
\n" ); document.write( " So we have 100 t + 80 t = BC = CD + AB = 1000+ 500
\n" ); document.write( " So, 180 t = 1500, t = 25/3 hrs
\n" ); document.write( " [Or get t by (1000+ 500)/(100+80) directly.
\n" ); document.write( " Answer: it takes 25/3 hrs for the trains to pass each other
\n" ); document.write( "from the moment the locomotives are at the same point.
\n" ); document.write( " Or get t by (1000 + 500)/ (1000+ 60) directly.
\n" ); document.write( "
\n" );