Suppose that there are 10 boxes in a room, and each box has a random unique...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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, x, then the next box that she looks inside is box number x (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, y, then the next box that she looks inside is box number y (i.e. the y¹h 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). =prob_of_success = None # YOUR CODE HERE raise Not ImplementedError() #hidden tests for problem 6.1 are within this cell 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, x, then the next box that she looks inside is box number x (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, y, then the next box that she looks inside is box number y (i.e. the y¹h 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). =prob_of_success = None # YOUR CODE HERE raise Not ImplementedError() #hidden tests for problem 6.1 are within this cell
Expert Answer:
Answer rating: 100% (QA)
To calculate the probability that all 10 people look inside the box that contains their number using ... View the full answer
Related Book For
Principles Of Information Security
ISBN: 9780357506431
7th Edition
Authors: Michael E. Whitman, Herbert J. Mattord
Posted Date:
Students also viewed these programming questions
-
What are the distinguishing characteristics of transformational leadership, and how do visionary leaders inspire and mobilize followers toward shared organizational goals and aspirations ?
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
Given the following data: Calculate ÎH for the reaction On the basis of enthalpy change, is this a useful reaction for the synthesis of ammonia? AH - 92 kJ () + AH = -484 k (g) ON OH 88
-
Maximum Revenue The total revenue R earned per day (in dollars) from a pet-sitting service is given by R(p) = 12p2 + 150p, where p is the price charged per pet (in dollars). (a) Find the revenues...
-
What are the three different types of competition? Give an example of each.
-
Why is it important for organizations to take a people-first approach to IT?
-
The following information is provided to assist you in evaluating the performance of the production operations of Studio Company: Units produced (actual) . . . . . . . . . . . . . . . . . . . . . . ....
-
2. The typical firm in the market operates at the following cost: LRTC = q - 10q + 30q a) Find the minimum efficient scale (MES). Hint: The MES is positive in this case. b) The inverse market demand...
-
XYZ is a calendar-year corporation that began business on January 1, 2020. For the year, it reported the following information in its current-year audited income statement. Notes with important tax...
-
In the design challenge assignment, you must include the following: Describe your problem. What is the problem you are trying to solve? My problem is: elderly people facing difficulties in using...
-
Trading online increasingly involves developing multichannel strategies. Give three examples of potential channel conflicts that might arise from using the Internet. Illustrate your answer with...
-
Setting long-term strategic objectives for a website is unrealistic since the rate of change in the marketplace is so rapid. Discuss.
-
Summarise how each of the micro-environment factors may directly drive the content and services provided by a website.
-
What is the purpose of a digital marketing audit? What should it involve?
-
Competition is intensified when trading online. Discuss the extent to which you feel this assertion is true.
-
The Trojan asteroids share Jupiter's orbit around the Sun: approximately circular with a mean radius 5.2 AU (1 AU= 1.5 x 10 m is the mean radius of the Earth's orbit around the Sun). The Trojans are...
-
Recall that Chapter 8 described the binary search algorithm for finding a particular entry in an ordered list. The idea behind binary search is to begin looking in the exact center of the list. If...
-
Explain that this threat represents a well-known and broad category of electronic and human activities that breach the confidentiality of information. Establish that when an unauthorized individual...
-
Which of the following is a hybrid cryptosystem that has become the open-source de facto standard for encryption and authentication of e-mail and file storage applications? a. PGP b. S-HTTP c. SSL d....
-
True or False: The cornerstone of many current federal computer-related criminal laws is the Computer Fraud and Abuse Act of 1986.
-
There is a vent with an area 0.4 m2 on the wall of the air supply duct. Try to find the average velocity v of the outlet flow.
-
How do differences in income levels and income distribution among countries affect international businesses?
-
Describe the U.S. role in the world economy.
Study smarter with the SolutionInn App