document.write( "Question 414277: Two trains are traveling at 18kmph and are 60 km apart. There is fly in the train. it flies at 80kmph. It flies and hits the second train and then it starts to oscillate between the two trains. At one instance when the two trains collide it dies. Distance traveled by the fly when both trains collide is \n" ); document.write( "
Algebra.Com's Answer #290549 by sudhanshu_kmr(1152)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "relative velocity of two trains = 36 kmph...\r
\n" ); document.write( "\n" ); document.write( "time taken for collision = 60/36 = 5/3 hour\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "distance traveled by the fly = 5/3 * 80 = 400/3 = 133.333 km\r
\n" ); document.write( "\n" ); document.write( "distance traveled by fly = 133.333 km...\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );