Puzzle 3 | (Calculate total distance travelled by bee)


Two trains are on same track and they are coming toward each other. The speed of first train is 50 KMs/h and the speed of second train is 70 KMs/h. A bee starts flying between the trains when the distance between two trains is 100 KMs. The bee first flies from first train to second train. Once it reaches the second train, it immediately flies back to the second train … and so on until trains collide. Calculate the total distance traveled by the bee. Speed of bee is 40 KMs/h.


Let the first train moves at u km/h

second train moves at v km/h

distance betweem trains be d km

speed of bee is b km/h

time taken by trains to collide = d/(u+v)

distance travelled by bee = b*d/(u+v) = 40 * 100/(50+70) = 33.333

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above

GATE CS Corner    Company Wise Coding Practice

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.

Recommended Posts:

1.6 Average Difficulty : 1.6/5.0
Based on 66 vote(s)