Answer:
The expected number of days until the prisoner reaches freedom is 2.8.
Explanation:
Door 1: 0.3 probability of being selected. Leads to his cell after two days' travel.
Door 2: 0.5 probability of being selected. Leads to his cell after four days' travel.
Door 3: 0.2 probability of being selected. Leads to his cell after one day of travel.
What is the expected number of days until the prisoner reaches freedom?
We multiply the probability of each door being used by the time that it leads to the cell. So
E = 0.3*2 + 0.5*4 + 0.2*1 = 2.8
The expected number of days until the prisoner reaches freedom is 2.8.