a girl sitting in a train which is travelling at 40 kmph observes that a goods train travelling in a opposite direction, takes 12 seconds to pass him. if the goods train is 1120 m long, find its speed.	Choose the most appropriate option:  A) 295  B) 296  C) 297  D) 298  E) 299
<gadget id="calculator">1_120 / 12</gadget>
<output>280/3 = around 93.333333</output>

<gadget id="calculator">10 / 36</gadget>
<output>5/18 = around 0.277778</output>

<gadget id="calculator">(280/3) / (5/18)</gadget>
<output>336</output>

<gadget id="calculator">336 - 40</gadget>
<output>296</output>

<result>B</result>
a girl sitting in a train which is travelling at 40 kmph observes that a goods train travelling in a opposite direction, takes 12 seconds to pass him. if the goods train is 1120 m long, find its speed.
subtract(divide(divide(1120, 12), const_0_2778), 40)
relative speed = ( 1120 / 12 ) m / s = ( 1120 / 12 ) * ( 18 / 5 ) = 336 kmph speed of goods train = 336 - 40 = 296 kmph answer is b