The teacher in a certain class room allows you to pass a paper with an assignment around, and whomever it ends up on has to do it. The only two rules are you can't pass it to someone who already has had it and you can only pass it to the person to the left, right, forward, or backward.
In a room of 30 students arranged in a 6 by 5 grid, the teacher starts out with the assignment somewhere on the front row of 6 students. At some point someone is stuck holding the assignment because all his neighbors have had it and passed it on to someone else. If this happens after every student in the room has had it, what is the probablity, for each individual, that he or she turns out to be the lucky winner of the assignment?
(In reply to What's wrong with my simulation?
FOR dc=-1 to 1
FOR dc=1 to -1 step -1
I think you'll see the left-right probability trends reverse.
In which case, the "problem" is the position order of choices to move next.
Posted by Thalamus
on 2004-06-24 15:49:27