![]() |
|
|
#1 |
|
"Matthew Anderson"
Dec 2010
Oregon, USA
25×52 Posts |
Hi Mersennneforum,
Here is a puzzle that some of you will enjoy. It is a modification of the 'drunkard's walk'. A man leaves a bar and flips a coin. If it is heads, he walks one mile north. If it is tails, he goes one mile east. Then, given two possible locations, he flips a coin again. Heads, sends him only half a mile north and tails he goes half a mile east. The third flip of the coin only sends him a quarter of a mile in either of the two directions. Assume the drunkard can filp a coin an infinite number of times. The questions are what is the longest distance and the shortest distance that he travels as measured 'as the crow flies from the bar? Also, what is the distribution of distances he travels? Regards, Matt Last fiddled with by MattcAnderson on 2017-06-28 at 01:20 Reason: forgot about infinite flipping. |
|
|
|
|
|
#2 | |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
Quote:
Last fiddled with by science_man_88 on 2017-06-28 at 02:09 |
|
|
|
|
|
|
#3 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
22·1,549 Posts |
And what if the bar is one mile South of the North Pole?
|
|
|
|
|
|
#4 |
|
"Matthew Anderson"
Dec 2010
Oregon, USA
14408 Posts |
Hi Again,
I don't have a full solution, but the attached file has some answers. Regards, Matt |
|
|
|
|
|
#5 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36×13 Posts |
|
|
|
|
|
|
#6 | |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
140648 Posts |
Quote:
I gave a hint already above. But the location (in both space and time) of the bar is important. Different terrains, different altitudes, even different days will all change the distance calculations. |
|
|
|
|
|
|
#7 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101Γ103 Posts
2·3·7·233 Posts |
I figured that 2.0 was the max and 1.414 was the min.
Ran 10000 simulations (and 8000 in a second run) and found that this is the case. Attached is a histogram of the values. The separate run of 8000 gave an average of 1.624 and Std Dev of 0.179 It would be interesting to plot the actual points, but the should fall on/near the (0,2) to (2,0) line. What if the first 2 were between north and east, then the next 2 are west and south? |
|
|
|
|
|
#8 |
|
"Matthew Anderson"
Dec 2010
Oregon, USA
25·52 Posts |
Hi again,
Okay, lets assume the bar is in Paris. There is no need to march to the north pole and then try to walk east. Regards, Matt |
|
|
|
|
|
#9 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
22·1,549 Posts |
The scenario as posted only shows two flips of the coin as actual actions. The third flip specifies a directional possibility but fails to say which flip maps to which direction, and also doesn't actually say if any action is taken, merely what would happen. And the following paragraph says the "drunkard can filp [sic] a coin an infinite number of times", but doesn't say how that relates to any previous actions, (or what a filp is).
So based upon that the maximal distance to two heads going North for 1.5 miles. And the minimal distance is tails then heads going East then North (from Paris) for marginally less than sqrt(5/4) miles, because there is a small curvature of the path when going East which I'm too lazy to work out just now. Plus lots of assumptions about how crows fly.
|
|
|
|
|
|
#10 |
|
Aug 2006
3×1,993 Posts |
I think we're on an infinite plane with two distinguished orthogonal directions.
|
|
|
|
|
|
#11 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| random comments, random questions and thread titles made for Google | jasong | Lounge | 46 | 2017-05-09 12:32 |
| Never fails...walk out the door and computer crashes | Chuck | GPU to 72 | 28 | 2013-11-27 04:29 |
| Ryder Cup - A good walk spoiled? | davieddy | Hobbies | 1 | 2010-10-21 11:21 |
| About random number (random seed) in Msieve | Greenk12 | Factoring | 1 | 2008-11-15 13:56 |
| A walk down memory lane.... | petrw1 | Lounge | 0 | 2008-11-13 22:38 |