Question
Monte Carlo Method Suppose that there are 10 boxes in a room, and each box has a random unique integer between 1 and 10 hidden
Monte Carlo Method Suppose that there are 10 boxes in a room, and each box has a random unique integer between 1 and 10 hidden inside of it (i.e. no two boxes share the same integer). There are 10 people in another room, and each person has a random unique integer between 1 and 10 stapled to her shirt (i.e. no two people share the same integer). Here's a riddle: Each person is allowed to enter the room with the boxes, which are in a line from the left side of the room to the right side of the room, look inside 5 boxes, and leave the room exactly as she found it before the next person enters. When a person leaves the room that has the boxes, she goes to a private room to wait until everyone else has left the room that has the boxes (i.e. it is impossible for a person to communicate her findings to the other people who have not yet entered the room with the boxes). If all 10 people find their numbers inside the boxes (i.e. Person 1 must look inside the box that contains the number 1, Person 2 must look inside the box the contains the number 2, etc.), then they will each receive a million dollars. If each person randomly selects 5 boxes to look into, then the probability that all 10 of them find their number is (5/10)10 , which is approximately equal to 0.1%. It turns out that they can do much, much better. The people are told that the boxes are in a line from the left side of the room to the right side of the room, and they are allowed to discuss their strategy before they start. What should their strategy be? If you want, you can try to solve this fun riddle, but you don't have to. Here is the answer to the riddle and the prompt for the Monte Carlo problem. The people first make up their own numbering system for the boxes. The box on the far left will be box number 1, the box to the right of that will be box number 2, and so on. Person 1 enters the room with the boxes and looks inside box number 1. If it contains the number 1, then she can exit the room. If it contains any other number, , then the next box that she looks inside is box number (i.e. the x box from the left side of the room). If that box contains the number 1, then she can exit the room. If it contains any other number, , then the next box that she looks inside is box number (i.e. the y box from the left side of the room). She continues this process until she has looked inside 5 boxes. After Person 1 has exited the room, Person 2 enters the room and does the exact same thing, except that she starts by looking inside box number 2 (instead of box number 1). After Person 2 has exited, Person 3 enters the room and does the exact same thing, except that she starts by looking inside box number 3 (instead of boxes number 1 or 2). And so on, until all 10 people have exited the room. What is the probability that all 10 people look inside the box that contains their number? Set the variable prob_of_success equal to your answer. Your answer should be in decimal form. In order to be graded as correct it must be within 0.001 of the correct answer (i.e. if the correct answer is 0.4581 (it isn't really), then any answer between 0.4571 and 0.4591 would be graded as correct).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started