I think kedaman is correct.
Hi.
1. As the fast train enters the tunnle the front of the slow train is 200 meters into the tunnel. (1 slow train length.)
2. When the fast train has traveled 400 meters and is even with the slow train, the slow train has traveled 200 meters. The front of the slow train is now 400 meters into the tunnel. (2 slow train lengths.)
3. When the fast train has traveled another 400 meters the end of the fast train is passing the front of the slow train. The slow train has traveled another 200 meters. The front of the slow train is now at the end of the tunnel. (3 slow train lengths.)
Al.
I see where I've gone wrong
OK. I must say I'm not 100% sure on this, but I'll still give it a go:
As the fast train enters the tunnel, it is 200m behind the slow train. After the fast train has travelled 200m, the slow train has gone 100m, so the fast train is still 100m behind. After the fast train has gone another 200m, the slow train has also gone 100m, so they are now parallel, agreed?
Then the fast train goes 200m, but the slow train is still 100m behind. Once the fast train has gone another 200m, the slow train has gone 100m, but it is 200m behind all the same, so this must be where the end of the tunnel is. If we add up all of the 200m we get how far the fast train went (800m) but (and this is where I went embarrassingly wrong and forgot to do), the fast train is 200m farther away than the end of the tunnel so we must take away 200m to leave 600m. I'm sorry about that. Sorry, kedaman.
:o
But it is nice to have an argument.
Except I usually lose.
Pathetic, really...
Note Actual velocity does not matter
600 Meters is correct, but Kederman's equation are technically incorrect due to assuming velocities of 200 & 100 meters per hour, not 200 & 100 Kilometers per hour. His result is correct because it is the relative velocity of the two trains which matters. Nobody seems to have noticed this aspect of the problem. Check examples below.
At 200 meters per hour, front end of fast train would go 800 meters in four hours (from start of tunnel to 200 meters beyond the end of 600 meter tunnel). In the same four hours (@ 100 meters per hour) front end of slow train goes 400 meters: It starts 200 meters into tunnel and gets to end (400 meters away)in 4 hours.
If trains went 200 % 100 meters per second (3600 time faster) the following would occur. Front of fast train goes the 800 meters in 4 seconds instead of 4 hours, while front of slow train goes 400 meters in 4 seconds. In actual problem the speeds of 200 & 100 Kolometers per hour are intermediate to the examples just described.
The dinosaur (me) is old, but not too dumb.
Without using a computer....
Well I decided to work it out myself, so here's my solution.
So we know:
A+B+C+D is evenB&D is a multiple of 11
A&B is divisible by 9
A&C is the square of an integer
So, from thi we can infer:
A+B+C+D mod 2 = 0
B=D since any multiple of 11 less than 100 has two digits the same
A&B mod 9 = 0
B&D mod 11 = 0
sqr(A&C) is in the range 4<=A&C<=9 since A&C is a two digit number
Now, since B=D and A+B+C+D is even
B+D is even, therefore
If B is odd, D is odd
If B is even, D is even
This implies that:
A+C is even, therefore
If A is odd, C is odd
If A is even, C is even
since the sum of an odd and an even number will always be odd.
The sum of A+C and B+D must be even according to the stated conditions
so
(A+C) mod 2 = (B+D) mod 2
Now, since A&C is in the set {16, 25, 36, 49, 64, 81} and we know that A+C is even,
we can infer that A&C cannot be in the set {25, 36, 49, 81} since for those values of
A&C, A+C is odd. This contradicts the logic we established just now.
This means that A&C must be in the set {16, 64}
So A=1, C=6
OR
A=6, C=4
Now, we know that A&B is a factor of 9.
Therefore A&B must be in the range
10<=A&B<=19 if A=1
OR
60<=A&B<=69 if A=6
If A=1 and (A&B mod 9)=0 then
A&B must be 18
If A=6 and (A&B mod 9)=0 then
A&B must be 63
So we have either:
(1) A=1, B=8, C=6
OR
(2) A=6, B=3, C=4
Now, we know B=D and (A+B+C+D mod 2)=0 (A+B+C+D is even)
CASE (1):
A=1, B=8, C=6, D=8
A+B+C+D=23 ODD
So we reject case (1)
CASE (2):
A=6, B=3, C=4, D=3
A+B+C+D=16 EVEN
So we accept case (2)
Therefore the only possible 4 digit number to satisfy the stated conditions is:
6343
[Edited by HarryW on 04-13-2000 at 08:26 PM]
I think we can all see which way is best...
Although you did do very well, Harry, I think we can all see that using a computer is faster and easier.
You did it the proper way (which is also more boring ;))
Oops, almost forgot: the answer is 6343. Of course, I figured that out in my head, the messages just gave me a small hint as to the method.
I'm getting carried away now. Carried away by aliens... Oh, my God. What's that? and why are they shoving it up my... Aaaaaarrrrgghhh!!!!!!!!
[Message ends]
Unfortunately, I'm still alive. :D
The mind is more efficient than the machine...
This time, by using the computer you take longer and
it is less accurate. (Algebra would give you 600m
exactly).
I just thought I'd make that totally useless point.
I'll go then...
Bye..
See ya..
[Oh just b*gger off you ugly piece of dung beetle excrement]
OK. OK. I'm going...
[P*ss the *1$@ off]
See ya!