two goods train each 500 m long, are running in opposite directions on parallel tracks. their speeds are 45 km / hr and 30 km / hr respectively find the time taken by the slower train to pass the driver of the faster one.	Select the correct option:	A) 12 sec	B) 24 sec	C) 48 sec	D) 60 sec	E) none
<gadget id="calculator">45 + 30</gadget>
<output>75</output>

<gadget id="calculator">1_000 * 75</gadget>
<output>75_000</output>

<gadget id="calculator">75_000 / 3_600</gadget>
<output>125/6 = around 20.833333</output>

<gadget id="calculator">500 / (125/6)</gadget>
<output>24</output>

<gadget id="calculator">24 * 2</gadget>
<output>48</output>

<result>C</result>
two goods train each 500 m long, are running in opposite directions on parallel tracks. their speeds are 45 km / hr and 30 km / hr respectively find the time taken by the slower train to pass the driver of the faster one.
multiply(divide(500, divide(multiply(const_1000, add(45, 30)), const_3600)), const_2)
solution relative speed = ( 45 + 30 ) km / hr = ( 75 x 5 / 18 ) m / sec = ( 125 / 6 ) m / sec total distance covered = ( 500 + 500 ) m = 1000 m required time = ( 1000 x 6 / 125 ) sec = 48 sec answer c