Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Lounge

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2010, 09:03 AM   #1
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,673
Karma: 306652114
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Achilles and the Gods Puzzle

The gods have heard rumours* that Achilles might not be as fast at running as they thought, so they decide to set him a task.

He must run a race on a special 100m racetrack. The special thing about this racetrack is that every time Achilles has run 10m along the race track, the whole track instantly stretches, as if made of rubber, by 100m.

Now Achilles can run indefinitely as a constant 10m/s. He really is a fast runner — good endurance too.

Have the gods set Achilles an impossible task? Can he ever finish the race?

Please give a reason for your answer, and don't forget to put your answer in
Spoiler:
spoiler tags.




*something about Achilles not being able to catch up to a tortoise.

This puzzle is adapted from the puzzle at http://www.smart-kit.com/s3222/jack-the-beanstalk/
pdurrant is offline   Reply With Quote
Old 07-12-2010, 10:07 AM   #2
clarknova
Addict
clarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with others
 
clarknova's Avatar
 
Posts: 241
Karma: 2617
Join Date: Mar 2009
Location: Greenwood, SC
Device: Kindle 2
Quote:
Originally Posted by pdurrant View Post
The gods have heard rumours* that Achilles might not be as fast at running as they thought, so they decide to set him a task.

He must run a race on a special 100m racetrack. The special thing about this racetrack is that every time Achilles has run 10m along the race track, the whole track instantly stretches, as if made of rubber, by 100m.

Now Achilles can run indefinitely as a constant 10m/s. He really is a fast runner — good endurance too.

Have the gods set Achilles an impossible task? Can he ever finish the race?
Spoiler:

No, it's not impossible. Yes, he finishes the race 3 hours, 26 minutes, and 7 seconds after he starts.

At first I thought it was impossible, since for every 10m he ran, the track became 100m longer, thus he would be 90 meters further from the finish line every second. Then I re-read, and realized you said "the whole track stretches" which would mean it stretches with him on it. So after 1 second, he'd have run 10m, and then the track would stretch to 200m, and he would now be standing at the 20m mark (10% there). Another second, the track would stretch to 300m, and he'd now be at the 45m mark (15% there), after another second the track would be 400m, and he'd be at the 73 1/3m mark (18 1/3% there). Thus, he's slowly gaining.

Code:
/* achilles.c */
#include <stdio.h>

int main() {
  long track = 100;  // track length
  double distance = 0;  // position that Achilles is on the track.
  const int stretch = 100;  // stretch length
  const int speed = 10;  // Achilles speed in m/s
  int seconds = 0;

  while ((long)distance < track) {
    seconds++;
    distance += speed;
    distance += (distance / track) * stretch;
    track += stretch;
    printf("Running Time: %dsec / Achilles' Position: %fm / Track Length: %ldm\n",seconds,distance,track);
  }
  return(0);
}

Last edited by clarknova; 07-12-2010 at 10:58 AM.
clarknova is offline   Reply With Quote
Advert
Old 07-12-2010, 10:38 AM   #3
obs20
Wizard
obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.
 
obs20's Avatar
 
Posts: 2,782
Karma: 29028512
Join Date: May 2010
Location: Florida
Device: Sony PRS 600, Nook ST, Toshiba Excite 10.1 AT 300
Achilles

Spoiler:
If the track is a straight line then he will gain 10 for every second and lose 50. If at the end of the first second he has run 10m the gods have stretched the 50m track ahead of him and 50m behind him. Thus after 1 second he has 140 meters to go and 55 meters behind him. After 2 seconds he will have 180 ahead of him.
I'm still working on the calculations.

Last edited by obs20; 07-12-2010 at 10:48 AM.
obs20 is offline   Reply With Quote
Old 07-12-2010, 11:10 AM   #4
Sparrow
Wizard
Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.Sparrow ought to be getting tired of karma fortunes by now.
 
Posts: 4,395
Karma: 1358132
Join Date: Nov 2007
Location: UK
Device: Palm TX, CyBook Gen3
Quote:
Originally Posted by obs20 View Post
Spoiler:
... If at the end of the first second he has run 10m the gods have stretched the 50m track ahead of him and 50m behind him.
Spoiler:
Why would it be 50m each side of Achilles, wouldn't the track be stretched further in front of him?
Sparrow is offline   Reply With Quote
Old 07-12-2010, 11:12 AM   #5
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,673
Karma: 306652114
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by obs20 View Post
Spoiler:
If the track is a straight line then he will gain 10 for every second and lose 50. If at the end of the first second he has run 10m the gods have stretched the 50m track ahead of him and 50m behind him. Thus after 1 second he has 140 meters to go and 55 meters behind him. After 2 seconds he will have 180 ahead of him.
I'm still working on the calculations.
Spoiler:
I disagree with your assumption that the stretching of the track occurs equally in front and behind Achilles. Take a rubber band. Tie a piece of string around it, 1/10 of the way along. Stretch the band to twice the original length. How far along the band is the piece of string?
pdurrant is offline   Reply With Quote
Advert
Old 07-12-2010, 11:48 AM   #6
clarknova
Addict
clarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with others
 
clarknova's Avatar
 
Posts: 241
Karma: 2617
Join Date: Mar 2009
Location: Greenwood, SC
Device: Kindle 2
To be more specific:
Spoiler:

Achilles spends 3 hours, 26 minutes, and 6.4681167 seconds (approx) to finish the race (12366.4681167 seconds).
He runs a total of 123.604681167 km (approx).
The track is 1,236.7 km long when he finishes.
clarknova is offline   Reply With Quote
Old 07-12-2010, 11:52 AM   #7
obs20
Wizard
obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.obs20 ought to be getting tired of karma fortunes by now.
 
obs20's Avatar
 
Posts: 2,782
Karma: 29028512
Join Date: May 2010
Location: Florida
Device: Sony PRS 600, Nook ST, Toshiba Excite 10.1 AT 300
Quote:
Originally Posted by pdurrant View Post
Spoiler:
I disagree with your assumption that the stretching of the track occurs equally in front and behind Achilles. Take a rubber band. Tie a piece of string around it, 1/10 of the way along. Stretch the band to twice the original length. How far along the band is the piece of string?
I see your point.
Spoiler:
He moves with the track
obs20 is offline   Reply With Quote
Old 07-12-2010, 12:28 PM   #8
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Spoiler:
As long as the track stretches taking Achilles with it then it's clear that he will finish the race. Let us suppose that he is x% along the track when it stretches. He is still x% along it after the stretch, and every step he takes will increase "x", stretch or no stretch. The fact that the stretch is arithmetic rather than geometric ensures that he will complete the race in a finite time (which I'm afraid I can't be bothered to work out).
HarryT is offline   Reply With Quote
Old 07-12-2010, 01:03 PM   #9
LazyScot
DSil
LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.LazyScot ought to be getting tired of karma fortunes by now.
 
LazyScot's Avatar
 
Posts: 3,201
Karma: 6895096
Join Date: Sep 2007
Location: Hants, UK
Device: Kindle, Cybook
Spoiler:

Yes, he'll finish.

Observation 1

When the track stretches by 100m, he moves with it, so is position on the track as fraction of the total track stays the same. For example, after the first second he has travelled 10 meters, or one tenth of the track. When it expands, he is still at one tenth of the track.

Observation 2
Each second, the distance he runs, expressed as a fraction of the overall track length gets smaller. Mathematically for second n, he travels 1/ (10 *n). For example, for the first second, he travels 1/10 of the track, for the next second he travels 1/20 of the track, and so on.

Conclusion
At any time n, his position on the track is the sum of 1/10 + 1/20 + 1/30 ... + 1/(10*n).

This is equivalent to 1/10 * ( 1/1 + 1/2 + 1/3 + ... 1/n).

(1/1 + 1/2 + 1/3 + ... 1/n) is a sequence which is known to diverge, i.e. continually grow larger as n increases, and so any value will eventually be reached (google/wikipedia on Harmonic sequences).

LazyScot is offline   Reply With Quote
Old 07-12-2010, 08:57 PM   #10
Shayne Parkinson
Author
Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.
 
Shayne Parkinson's Avatar
 
Posts: 1,532
Karma: 5447804
Join Date: Jan 2010
Location: New Zealand
Device: Samsung Galaxy Tab
Spoiler:

Yes, he'll get there eventually. Because the track stretches equally along its length, the percentage Achilles has covered is not changed by each stretch. After a stretch he then runs another 10 metres, increasing his percentage covered, before the track stretches again.

After one second, he's run 10m, which is 10% of the track. The track then stretches to 200m, so the son of Thetis is now at the 20m mark (10 * (200/100)), still at 10%.

After two seconds, he's at 30m, 15% of the track. The track stretches to 300m, taking Achilles to 45m (30 * (300/200)), still 15%.

After three seconds, 18.33%.

After four seconds, 20.83%.

And so on, gradually approaching 100%.
Shayne Parkinson is offline   Reply With Quote
Old 07-13-2010, 02:07 AM   #11
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,673
Karma: 306652114
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by clarknova View Post
Spoiler:

No, it's not impossible. Yes, he finishes the race 3 hours, 26 minutes, and 7 seconds after he starts.
Spot on! Congratulations.
pdurrant is offline   Reply With Quote
Old 07-13-2010, 02:12 AM   #12
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,673
Karma: 306652114
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by HarryT View Post
Spoiler:
As long as the track stretches taking Achilles with it then it's clear that he will finish the race. Let us suppose that he is x% along the track when it stretches. He is still x% along it after the stretch, and every step he takes will increase "x", stretch or no stretch. The fact that the stretch is arithmetic rather than geometric ensures that he will complete the race in a finite time (which I'm afraid I can't be bothered to work out).

The right answer, but I'm not convinced that you've properly shown thar it actually is the right answer.

Spoiler:
For instance, if, instead of extending it 100m, would Achilles finish if they extended it by 100m, 200m, 300m, etc,? After all, he'll still be increasing the percentage of the track he's covered all the time.
pdurrant is offline   Reply With Quote
Old 07-13-2010, 02:13 AM   #13
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,673
Karma: 306652114
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by LazyScot View Post
Spoiler:

Yes, he'll finish.

Observation 1

When the track stretches by 100m, he moves with it, so is position on the track as fraction of the total track stays the same. For example, after the first second he has travelled 10 meters, or one tenth of the track. When it expands, he is still at one tenth of the track.

Observation 2
Each second, the distance he runs, expressed as a fraction of the overall track length gets smaller. Mathematically for second n, he travels 1/ (10 *n). For example, for the first second, he travels 1/10 of the track, for the next second he travels 1/20 of the track, and so on.

Conclusion
At any time n, his position on the track is the sum of 1/10 + 1/20 + 1/30 ... + 1/(10*n).

This is equivalent to 1/10 * ( 1/1 + 1/2 + 1/3 + ... 1/n).

(1/1 + 1/2 + 1/3 + ... 1/n) is a sequence which is known to diverge, i.e. continually grow larger as n increases, and so any value will eventually be reached (google/wikipedia on Harmonic sequences).

Very good indeed — the right answer, and a good proof that it's correct.
pdurrant is offline   Reply With Quote
Old 07-13-2010, 02:18 AM   #14
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,673
Karma: 306652114
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by Shayne Parkinson View Post
Spoiler:

Yes, he'll get there eventually. Because the track stretches equally along its length, the percentage Achilles has covered is not changed by each stretch. After a stretch he then runs another 10 metres, increasing his percentage covered, before the track stretches again.

After one second, he's run 10m, which is 10% of the track. The track then stretches to 200m, so the son of Thetis is now at the 20m mark (10 * (200/100)), still at 10%.

After two seconds, he's at 30m, 15% of the track. The track stretches to 300m, taking Achilles to 45m (30 * (300/200)), still 15%.

After three seconds, 18.33%.

After four seconds, 20.83%.

And so on, gradually approaching 100%.
Yes, the right answer, but your reasoning is not sufficient.

Spoiler:
For instance, if, instead of extending it 100m each time, would Achilles finish if the gods extended it by 100m, 200m, 300m, etc,? After all, he'll still be increasing the percentage of the track he's covered all the time. — 10%, 15%, 17.5%, 18.9%, 19.8%,...
pdurrant is offline   Reply With Quote
Old 07-13-2010, 02:23 AM   #15
Shayne Parkinson
Author
Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.Shayne Parkinson ought to be getting tired of karma fortunes by now.
 
Shayne Parkinson's Avatar
 
Posts: 1,532
Karma: 5447804
Join Date: Jan 2010
Location: New Zealand
Device: Samsung Galaxy Tab
Quote:
Originally Posted by pdurrant View Post
Yes, the right answer, but your reasoning is not sufficient.

Spoiler:
For instance, if, instead of extending it 100m each time, would Achilles finish if the gods extended it by 100m, 200m, 300m, etc,? After all, he'll still be increasing the percentage of the track he's covered all the time. — 10%, 15%, 17.5%, 18.9%, 19.8%,...
A fair comment
Shayne Parkinson is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone read Ghost of Achilles - True Ogre? darkthrone Reading Recommendations 1 08-26-2010 05:27 PM
The Last Bean Puzzle pdurrant Lounge 26 06-30-2010 04:01 PM
Number Puzzle pdurrant Lounge 14 06-23-2010 01:02 PM
Puzzle emonti8384 Lounge 60 02-08-2010 09:55 PM
Colum, Padraic: Golden Fleece and the Heroes Who Lived Before Achilles, The (Illust) The Alternative BBeB/LRF Books (offline) 0 10-26-2007 12:07 AM


All times are GMT -4. The time now is 07:58 PM.


MobileRead.com is a privately owned, operated and funded community.