A man needs to go through a train tunnel to reach the other side. He starts running at 10 mph through the tunnel in an effort to reach his destination as soon as possible. When he is ¼ th of the way through the tunnel, he hears the whistle of the train behind him. Assuming the tunnel is not big enough for him and the train, he has to get out of the tunnel in order to survive. We know the following: Given 1. If he runs back, he will make it out of the tunnel by a whisker. Given 2. If he continues running forward, he will still make it out through the other end by a whisker. What is the speed of the train?
Solution is here