Suppose that there is a loop in a computer program and that the test to exit the loop depends on the value of a random variable X. The program exits the loop whenever X ∈ A, and this occurs with probability 1/3. If the loop is executed at least once, what is the probability that the loop is executed five times before exiting?
If loop is executed at least once then the probability that the loop is executed five times before exiting is 0.0658
Complete solution is given in attached image:
Thank You!
Get Answers For Free
Most questions answered within 1 hours.