Concept:When a train crosses a platform, the total distance covered equals the sum of the train's length and the platform's length.
For two trains moving in opposite directions, the relative speed is the sum of their individual speeds.
Explanation:Speed of the faster train is found using the platform crossing distance.
Total distance covered by the faster train
=300+600=900 m.
Speed of the faster train
=40900​=22.5 m/s.
Total distance covered by the slower train
=450+600=1050 m.
Speed of the slower train
=601050​=17.5 m/s.
When moving in opposite directions, the relative speed
=22.5+17.5=40 m/s.
The total distance needed for them to completely pass each other is the sum of their lengths.
Total distance
=300+450=750 m.
Time to pass each other
=40750​=18.75 seconds.
Answer:The two trains will take
18.75 seconds to completely pass each other.
Correct option: C. 18.75 seconds.