Fri Dec 07, 2007 6:14 pm by tartle 


a man needs to go through a train tunnel. he starts through the tunnel and when he gets 1/4 the way through the tunnel, he hears the train whistle behind him. you don't know how far away the train is, or how fast it is going, (or how fast he is going). all you know is that
if the man turns around and runs back the way he came, he will just barely make it out of the tunnel alive before the train hits him.
if the man keeps running through the tunnel, he will also just barely make it out of the tunnel alive before the train hits him.
assume the man runs the same speed whether he goes back to the start or continues on through the tunnel. also assume that he accelerates to his top speed instantaneously. assume the train misses him by an infintisimal amount and all those other reasonable assumptions that go along with puzzles like this so that some wanker doesn't say the problem isn't well defined.
how fast is the train going compared to the man? 




Tue Jan 08, 2008 7:28 am by aatifahmed 


The train is moving at 2 times the speed of man.
Use www.rot13.spam to decipher the solution if need be.
Yrg gur genva or ng n qvfgnapr f sebz gur ghaary. Yrg gur ghaary or bs yratgu q naq gur fcrrq bs zna i, juvyr bs gur genva ki.
Gurersber:
Gvzr gnxra ol gur zna naq gur znpuvar vf fnzr ng gur ragenapr => (f/ki)=(q/4i)=((f+q)/(ki+4i))  (v) (hfvat onfvp cebcregvrf bs engvb cebcbegvbaf).
Gvzr gnxra ol gur zna naq gur znpuvar vf fnzr ng gur rkvg =>
((f+q)/ki)=(3q/4i)  (vv)
hfr (v) & (vv):
(ki+4i)*q/4i=3q*ki/4i
fbyir gb trg k=2. 




Tue Nov 04, 2008 11:03 pm by Axomomma 


The train is moving at 1.5 times the speed of the man.
Assume that the tunnel is 400 yards long.
The man hears the train when he is 1/4 of the way inside, or 100 yards in.
If the man travels back 100 yards the train will just miss him.
If he goes forward 300 yards the train will just miss him.
The train was 150 yards away from the entrance to the tunnel when the man first heard it.
If the man goes forward 300 yards the train will travel 450 yards. 300 x 1.5 = 450
If the man goes back 100 yards the train will travel 150 yards. 100 x 1.5 = 150 




Mon Dec 22, 2008 9:00 pm by alexonfyre 


Actually the answer is that the train is moving twice the speed of the man, this forum doesn't have spoiler tags, so I will go ahead and post my work, hope that is okay.
First to Axomomma, for your hypothetical to be true, then the train would have to travel 550 yards while the man traveled 300 (since it has to go the distance to the tunnel, then all the way through it, 400 + 150 = 550) and then your two ratios wouldn't match, so that cannot be the answer. It was a decent guess, it took me a while to realise the error, but I think the solution to this problem is a system of equations).
There are 4 unknowns here: X (the length of the Tunnel), Y(the distance between the train and the tunnel), M (the speed of the man) and T (the speed of the train).
The ultimate goal here is to eliminate x and y and leave a relationship between m and t.
We have these two conditions given to us:
The time it takes the man to move 1/4 of x is equal to the time it takes the train to go all of y which gives us:
x/(4m) = y/t
also, the time it takes the man to go 3/4 x is equal to the time it takes the train to go all of y and x or:
3x/(4m) = (y+x)/t
For simplicity lets call the time it takes for the man to run through all of x, z or:
z = x/m
so
z/4 = y/t
and
3z/4 = (x+y)/t
now we can solve for z in terms of y and t:
z = 4y/t
make another substitution and we will eliminate t (don't worry it will be back):
(4y/t)*3/4 = (x+y)/t
3y/t=(x+y)/t
3y = x+y
x = 2y
(right here you know that the tunnel is twice the length of the distance between the train and tunnel, which is enough to solve it, but let's finish the elegant, mathematical way)
now with x in terms of y we can eliminate them both from our initial equation:
x/(4m) = y/t
becomes
2y/4m = y/t
y/2m = y/t
(cross multiply)
t = 2m
or the speed of the train is twice the speed of the man.
I couldn't get aatifahmed's decipher link to get his solution, it is broken now, so I don't know how similar his method was to mine, but I do know that his answer is correct. 




Fri Jun 17, 2011 10:20 am by einsteinager 


[quote="alexonfyre"]Actually the answer is that the train is moving twice the speed of the man, this forum doesn't have spoiler tags, so I will go ahead and post my work, hope that is okay.
First to Axomomma, for your hypothetical to be true, then the train would have to travel 550 yards while the man traveled 300 (since it has to go the distance to the tunnel, then all the way through it, 400 + 150 = 550) and then your two ratios wouldn't match, so that cannot be the answer. It was a decent guess, it took me a while to realise the error, but I think the solution to this problem is a system of equations).
There are 4 unknowns here: X (the length of the Tunnel), Y(the distance between the train and the tunnel), M (the speed of the man) and T (the speed of the train).
The ultimate goal here is to eliminate x and y and leave a relationship between m and t.
We have these two conditions given to us:
The time it takes the man to move 1/4 of x is equal to the time it takes the train to go all of y which gives us:
x/(4m) = y/t
also, the time it takes the man to go 3/4 x is equal to the time it takes the train to go all of y and x or:
3x/(4m) = (y+x)/t
For simplicity lets call the time it takes for the man to run through all of x, z or:
z = x/m
so
z/4 = y/t
and
3z/4 = (x+y)/t
now we can solve for z in terms of y and t:
z = 4y/t
make another substitution and we will eliminate t (don't worry it will be back):
(4y/t)*3/4 = (x+y)/t
3y/t=(x+y)/t
3y = x+y
x = 2y
(right here you know that the tunnel is twice the length of the distance between the train and tunnel, which is enough to solve it, but let's finish the elegant, mathematical way)
now with x in terms of y we can eliminate them both from our initial equation:
x/(4m) = y/t
becomes
2y/4m = y/t
y/2m = y/t
(cross multiply)
t = 2m
or the speed of the train is twice the speed of the man.
I couldn't get aatifahmed's decipher link to get his solution, it is broken now, so I don't know how similar his method was to mine, but I do know that his answer is correct.[/quote]
Yup thats the right way. 




Sun Dec 28, 2014 9:26 am by Zuko95 


Yes the answer is two times.
An easier way to solve it:
The time the train takes to reach the tunnel is equal to the time it takes the man to exit the tunnel going backwards , the time the man takes to walk 1/4 of the distance of the tunnel.
So when the train reaches the entrance of the tunnel (if the man is going forward) the man will be in the middle of the tunnel. So for both to reach the end of the tunnel at the same time the train must travel double the speed of the man. 




Mon Sep 26, 2016 9:53 pm by qwertyuiopasdfg 


This is a very nice puzzle. My way probably doesn't make any mathematical sense :).
So the man is 1/4 through the tunnel when he hears the train. He would just make it alive whether he took the 1/4 tunnel way back or the rest of the 3/4 tunnel forward. You subtract these 3/4  1/4 which equals 2/4 or 1/2. The man is going 1/2 the speed of the train. 




Wed Feb 15, 2017 1:40 am by Breys 


Much faster than the ram, since a train moves at a normally quicker speed (I am being very literal and am giving a very literal answer.) 






All times are GMT

Page 1 of 1 
