document.write( "Question 353818: can you please help me answer this question? A bus passenger observes that a train moving in the opposite direction passes him in 5 seconds; but moving in the same direction with him, it passes him in 45 seconds. Compare the speed of the bus with that of the train. \n" ); document.write( "
Algebra.Com's Answer #252936 by sudhanshu_kmr(1152)\"\" \"About 
You can put this solution on YOUR website!
Let the speed of bus = X m/s and the speed of train = Y m/s \r
\n" ); document.write( "\n" ); document.write( "where Y > X
\n" ); document.write( "
\n" ); document.write( "speed of train is greater than bus because train passes the boy.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let the length of train = L\r
\n" ); document.write( "\n" ); document.write( "relative velocity when both in opposite direction = X + Y meter/second\r
\n" ); document.write( "\n" ); document.write( " relative velocity when both in same direction = Y - X meter/second\r
\n" ); document.write( "\n" ); document.write( "according to question L /(X + Y) = 5 OR, L = 5(X+Y)......(1)\r
\n" ); document.write( "\n" ); document.write( " and L /(Y-X) = 45 OR, L = 45(Y-X) ......(2)\r
\n" ); document.write( "\n" ); document.write( "from above 2 equations....\r
\n" ); document.write( "\n" ); document.write( " 5(X+Y) = 45(Y-X)\r
\n" ); document.write( "\n" ); document.write( "=> 5X + 5Y = 45 Y - 45 X\r
\n" ); document.write( "\n" ); document.write( "=> 50 X = 40 Y\r
\n" ); document.write( "\n" ); document.write( "=> X / Y = 4/5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so, speed of bus and train are in ratio 4:5 .\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Sometimes there may be typing mistake in solution of a problem, so please ignore it. Understand the concept and try to solve the problem yourself. If there is problem related to concept, contact at
\n" ); document.write( " sudhanshu.cochin@gmail.com
\n" ); document.write( "Best of luck.......
\n" ); document.write( "
\n" );