Train Speed: Time, Distance, Relative Motion
Train Speed: Time, Distance, Relative Motion
EasyAptitude0% accepted
Two trains of lengths 120m and 80m are moving in opposite directions at 60 km/h and 40 km/h respectively. How long does it take for them to completely cross each other? Also solve: train crossing a stationary pole and crossing a platform.
Approach
Solve train crossing problems using relative speed and combined lengths.
Input
Trains 120m and 80m, speeds 60 and 40 km/h, opposite directions
Output
Relative speed = 100 km/h = 250/9 m/s; distance = 200m; time = 200/(250/9) = 7.2 seconds
More Aptitude problems
Browse all coding problems →Scenarios & Expected Answers
Sign in to continue
Create a free account to view answers and mark progress.
- Free forever — no credit card
- Theory Q&A with detailed answers
- Points, streaks & leaderboards