All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 The ants go marching. (Posted on 2009-10-21)
Six ants are marching in a straight line at a uniform speed along a plane when they come across something interesting: part of the ground ahead is moving. A large circular patch is slowly rotating. The path of the ants is aiming them straight at the center of this circle, so they stop right at the edge. They start arguing about what to do. Eventually the first ant decides to go for it. He sets out in a straight line toward the opposite side and keeps walking straight, but the constant rotation of the disc is such that by the time he reaches the other side he is exactly where he started! This walk took exactly one minute.

Unnerved this poor ant decides to take the long way around. (How long does it take him to get to the opposite side by walking around the circumference?)

The second observes this and decides to brave the disc. When he steps on, however he gets scared. He freezes and gets carried around until he gets to the other side and the first ant grabs him and pulls him off. (How long does this second ant take?)

The third ant decides to bite the bullet and see if he can go a little faster. He steps on then walks in the direction of the rotation until he gets to the first two. (How long does this take?)

The fourth ant is a bit of a showoff he decides to get on and walk counter to the rotation. (How long does he take?)

Ant number five has been watching carefully and thinks he can be even faster than the third. He steps on, takes a slight turn and walks in a straight line (along a chord) until he reaches the far edge. He picked the angle just right, because he meets the other ants just as he steps off. (What is the angle and how long does this walk take?)

The last ant is scared but he has his pride. He doesn't really want to cross but he doesn't want to chicken out and go around the outside either. Finally he works up his nerve and heads directly towards the rest of his party, correcting his course as he goes. (How long does this final crossing take?)
[Note: this part requires calculus.]

Reunited at last the ants continue their walk towards infinity.

 No Solution Yet Submitted by Jer Rating: 4.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 re: Anty Climax for #6 | Comment 4 of 7 |
(In reply to Anty Climax for #6 by Harry)

I also find that ant 6 gets trapped on the turntable, 0.6366 units from the center of the turntable, where the motion of the table exactly balances the ant's motion.

I chose to place the center of the turntable at the origin with the ant starting at (0,-1) and trying to get to (0,1), with the turntable going clockwise.

Doing the numerical integration I get the following table, listed at intervals of 1/5 minute:

`time    x        y    dist from ctr of turntable0.20 -0.4116 -0.4520  0.61130.40 -0.3511  0.1852  0.39700.60  0.0319  0.6746  0.67540.80  0.2834  0.8535  0.89931.00  0.4425  0.7908  0.90611.20  0.5489  0.6650  0.86231.40  0.5959  0.5307  0.79791.60  0.5927  0.4195  0.72611.80  0.5590  0.3491  0.65912.00  0.5170  0.3226  0.60932.20  0.4832  0.3308  0.58562.40  0.4653  0.3583  0.58722.60  0.4625  0.3891  0.60442.80  0.4693  0.4125  0.62483.00  0.4797  0.4242  0.64033.20  0.4891  0.4254  0.64823.40  0.4953  0.4202  0.64953.60  0.4976  0.4126  0.64653.80  0.4971  0.4060  0.64184.00  0.4949  0.4018  0.63754.20  0.4924  0.4004  0.63464.40  0.4905  0.4010  0.63354.60  0.4895  0.4026  0.63384.80  0.4893  0.4044  0.63485.00  0.4897  0.4057  0.63595.20  0.4903  0.4064  0.63685.40  0.4909  0.4064  0.63735.60  0.4912  0.4061  0.63745.80  0.4913  0.4057  0.63726.00  0.4913  0.4053  0.63696.20  0.4912  0.4051  0.63676.40  0.4910  0.4050  0.63656.60  0.4909  0.4050  0.63646.80  0.4909  0.4051  0.63657.00  0.4909  0.4052  0.63657.20  0.4909  0.4053  0.63667.40  0.4909  0.4053  0.63667.60  0.4909  0.4054  0.63677.80  0.4910  0.4053  0.63678.00  0.4910  0.4053  0.63678.20  0.4910  0.4053  0.63668.40  0.4910  0.4053  0.63668.60  0.4910  0.4053  0.63668.80  0.4909  0.4053  0.63669.00  0.4909  0.4053  0.6366`
` `

based on the analysis

Ant's speed is 1 diameter per minute = 2 radii per minute.
Turntable's speed is 1/2 revolution per minute = pi radian/minute.

Let the turntable be centered on the origin with radius 1.

Let ant 6 start at (0,-1) and end up at (0,1).

At any given time his motion has two components: that provided by the turntable and that provided by the ant himself.

The ant's own y'/x' = (1-y)/(-x), where x and y are the ant's current position and x' and y' are the x and y components of his own motion. Of course (x')^2 + (y')^2 = 2.

The turntable supplies a y' = -x*pi and x' = y*pi.

DEFDBL A-Z
pi = ATN(1) * 4
CLS
dt = .0001  ' minutes

goalx = 0: goaly = 1
x = 0: y = -1

DO

tdy = -x * pi: tdx = y * pi

dy = (ady + tdy) * dt: dx = (adx + tdx) * dt
x = x + dx: y = y + dy
t = t + dt
IF INT(t * 5) > prev THEN
PRINT USING "#.## ##.#### ##.#### ##.####"; t; x; y; SQR(x * x + y * y)
DO: LOOP UNTIL INKEY\$ > ""
END IF
prev = INT(t * 5)
LOOP UNTIL x * x + y * y >= 1

PRINT USING "#.## ##.#### ##.####"; t; x; y

 Posted by Charlie on 2009-10-28 11:53:21

 Search: Search body:
Forums (0)