two trains 200 m and 150 m long are running on parallel rails at the rate of 40 kmph and 48 kmph respectively. in how much time will they cross each other, if they are running in the same direction?  Choose the correct choice from the following
A) 72 sec
B) 132 sec
C) 157.5 sec
D) 252 sec
E) none
<gadget id="calculator">200 + 150</gadget>
<output>350</output>

<gadget id="calculator">350 / 1_000</gadget>
<output>7/20 = around 0.35</output>

<gadget id="calculator">48 - 40</gadget>
<output>8</output>

<gadget id="calculator">(7/20) / 8</gadget>
<output>7/160 = around 0.04375</output>

<gadget id="calculator">3_600 * (7/160)</gadget>
<output>315/2 = around 157.5</output>

<result>C</result>
two trains 200 m and 150 m long are running on parallel rails at the rate of 40 kmph and 48 kmph respectively. in how much time will they cross each other, if they are running in the same direction?
multiply(const_3600, divide(divide(add(200, 150), const_1000), subtract(48, 40)))
"solution relative speed = ( 48 - 40 ) kmph = 8 kmph = ( 8 x 5 / 18 ) m / sec = ( 40 / 18 ) m / sec time taken = ( 350 x 18 / 40 ) sec = 157.5 sec . answer c"