Answer:
The expected number of days until prisoner reaches freedom is 12 days
Explanation:
From the given information:
Let X be the random variable that denotes the number of days until the prisoner reaches freedom.
We can evaluate E(X) by calculating the doors selected, If Y be the event that the prisoner selects a door, Then;
E(X) = E( E[X|Y] )
E(X) = E [X|Y =1 ] P{Y =1} + E [X|Y =2 ] P{Y =2} + E [X|Y =3 ] P{Y =3}
![E(X) = (2 + E[X])(1)/(2)+ (4 + E[X])(3)/(10)+ 1 ((2)/(10))](https://img.qammunity.org/2021/formulas/mathematics/college/ssdviyk47j05o11gwiohnol0vj6qnu5m9l.png)
![E(X) = (2 + E[X])0.5+ (4 + E[X])0.3+ 0.2](https://img.qammunity.org/2021/formulas/mathematics/college/k4es1vlhf1qxwuq37ys1tli2zb64g57bnb.png)
Solving for E[X]; we get
E[X] = 12