Correct option is B
Given:
Speed of first train = 60 km/h
Speed of second train = 40 km/h
Time taken to cross each other when running in the same direction = 50 seconds
Formula Used:
Relative speed (same direction) = Speed of Train 1 − Speed of Train 2
Relative speed (opposite direction) = Speed of Train 1 + Speed of Train 2
Time to cross =
Solution:
Let the length of each train be d.
When trains are moving in the same direction:
Relative Speed = 60 - 40 = 20 km/h
Convert the speed to meters per second:
20 km/h = m/s
The total distance covered when the trains cross each other is the sum of their lengths, 2d
Time taken to cross each other is 50 seconds, so:
When trains are moving in opposite directions:
Relative Speed = 60 + 40 = 100 km/h
Convert the speed to meters per second:
100 km/h = m/s
The total length to be covered is 2L =
Time taken to cross each other:
Time = = 10 seconds