Q.53
Question
A prisoner is trapped in a cell containingdoors. The first door leads to a tunnel that returns him to his cell after days’ travel. The second leads to a tunnel that returns him to his cell after days’ travel. The third door leads to freedom after day of travel. If it is assumed that the prisoner will always select doors and with respective probabilities and ., what is the expected number of days until the prisoner reaches freedom?
Step-by-Step Solution
VerifiedThe expected number of days until the prisoner reaches freedom is
.
Given in the question that, a prisoner is trapped in a cell containing doors. The first door leads to a tunnel that returns him to his cell after days’ travel. The second leads to a tunnel that returns him to his cell after days’ travel. The third door leads to freedom after day of travel. If it is assumed that the prisoner will always select doors and with respective probabilities and .what is the expected number of days until the prisoner reaches freedom?
Allow to signify the quantity of days until the detainee get away and mean the entryway the detainee picks. Then
Now, , since the prisoner will essentially get back to the cell and the issue begins once again.
Similarly, , of course. Hence,
.
The expected number of days until the prisoner reaches freedom is
.