To determine the time of crossing for the two trains, we can first calculate their relative velocity. Since they are traveling in opposite directions, we can add their velocities:
Relative velocity = Velocity of train 1 + Velocity of train 2 = 15 m/s + 15 m/s = 30 m/s
Now, let's calculate the distance the trains need to cover to cross each other. Since both trains have a length of 50 m and they are moving towards each other, the total distance to be covered is the sum of their lengths:
Total distance = Length of train 1 + Length of train 2 = 50 m + 50 m = 100 m
To calculate the time of crossing, we can use the formula:
Time = Distance / Velocity
Time = 100 m / 30 m/s Time ≈ 3.33 seconds
Therefore, the time of crossing for the two trains is approximately 3.33 seconds.