Question

Suppose there are two cells, A prisoner is trapped in a cell containing 3 doors. The first door leads to a tunnel that r...

Suppose there are two cells, A prisoner is trapped in a cell containing 3 doors. The first door leads to a tunnel that returns him to other cell after 2 days’ travel. For the other cell, there are two doors, one door of which leads to freedom after 3 days of travel, and the other door leads back to the prisoner’s original cell after 3 days of travel. Each door is equally likely to be chosen. What is expected number of days until the prisoner reaches freedom?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The first door leads to a tunnel that returns him to other cell after 2 day's of travel.

Now at this cell there are two doors each with (1/2) probability of getting select.

Case 1: He took right gate and got freedom. So, days taken = 3

Total days = 2+3 = 5

Case 2: He took wrong gate and return to original cell after 3 days. Then again tunnel then he will chose the right door because he knows the one he selected before is wrong.

So, total days = 2 + 3 + 2 + 3 = 10

Each case has (1/2) probability.

So, E(x) = (1/2)*5 + (1/2)*10 = 15/2 = 7.5 days.

Hence expected number of days until the prisoner reaches freedom is 7.5 days.

Please comment if any doubt. Thank you.

Add a comment
Know the answer?
Add Answer to:
Suppose there are two cells, A prisoner is trapped in a cell containing 3 doors. The first door leads to a tunnel that r...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A prisoner is trapped in a cell containing 3 doors. The first door leads to a...

    A prisoner is trapped in a cell containing 3 doors. The first door leads to a tunnel that returns him to his cell after 2 days’ travel. The second leads to a tunnel that returns him to his cell after 4 days’ travel. The third door leads to freedom after 1 day of travel. If it is assuming the prisoner remembers previously chosen doors, and does not re-choose them. Assume the probabilities for the other doors are proportionally larger., what...

  • Exercise 6: A miner is trapped in a mine containing 3 doors. The first door leads...

    Exercise 6: A miner is trapped in a mine containing 3 doors. The first door leads to a tunnel that will take him to safety after 3 hours of travel. The second door leads to a tunnel that will return him to the mine after 5 hours of travel. The third door leads to a tunnel that will return him to the mine after 7 hours. If we assume that the miner is at all times equally likely to choose...

  • QUESTION 2 H.M. provides an illustration for which major theme of the chapter? a. Memory is...

    QUESTION 2 H.M. provides an illustration for which major theme of the chapter? a. Memory is not very important. b. Introspection is not sufficient evidence in and of itself. C. Cognition is interested in mental processes, as well as activities that depend on these processes. d. Damage to a small part of the brain can have a negligible effect on behavior. QUESTION 3 The phrase "fool me once, shame on you; fool me twice, shame on me" would not apply...

  • please use python and provide run result, thank you! click on pic to make it bigger...

    please use python and provide run result, thank you! click on pic to make it bigger For this assignment you will have to investigate the use of the Python random library's random generator function, random.randrange(stop), randrange produces a random integer in the range of 0 to stop-1. You will need to import random at the top of your program. You can find this in the text or using the online resources given in the lectures A Slot Machine Simulation Understand...

  • 1. Private data fields: name (of String type, initialized to “Bob”), endurance (of int type, initialized to 4) and happiness (of int type, initialized to 3);

    Language: JAVAPart a: Write a class called Geniegotchi with:1. Private data fields: name (of String type, initialized to “Bob”), endurance (of int type, initialized to 4) and happiness (of int type, initialized to 3);2. Public methods:-void setName(String newName) : renames Genie with newName, printsnewName confirmation to screen;void setName(String newName) : renames Genie with newName, printsnewName confirmation to screen;- intgetEndurance() : returns current endurance;-intgetHappiness() : returns current happiness;-void feed() : this method increases current endurance by 1 if endurance is less...

  • In your judgement, and given only the facts described in this case, should the management of...

    In your judgement, and given only the facts described in this case, should the management of Massey energy Company be held morally responsible for the deaths of the 29 miners? Explain in detail. Suppose that nothing more is learned about the explosion other than what is described in this case. Do you think Don Blankership should be held morally responsible for the deaths of the 29 miners? Explain in detail. Given only the facts described in this case, should the...

  • Read about Cokes strategy in Africa in the article below and discuss the ethics of selling...

    Read about Cokes strategy in Africa in the article below and discuss the ethics of selling soft drinks to very poor people. Is this an issue that a company like Coke should consider? Africa: Coke's Last Frontier Sales are flat in developed countries. For Coke to keep growing, Africa is it By Duane Stanford Piles of trash are burning outside the Mamakamau Shop in Uthiru, a suburb of Nairobi, Kenya. Sewage trickles by in an open trench. Across the street,...

  • Evaluate the arical writ the response in which you state your agreement or disagreement with writer...

    Evaluate the arical writ the response in which you state your agreement or disagreement with writer up un these questions guidelines 1) can empathy lead us astrary? how 2) our heart will always go out to the baby in the well, its a measure of our humanity. but empathy will have to yield to reason if humanity is to have a future can empathy yield to reason? how? thank you The Baby in the Well: The Case against Empathy* -Paul...

  • 10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated...

    10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...

  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT