Two people, X and Y, play a game alternately until one of them is successful or there are ten unsuccessful plays. Let Ei be the event of a success on the ith play of the game. Let WX, WY, and W0 be the events that X, Y, or neither wins, respectively. Write an expression for the occurrence of each of these events in terms of occurrences of the events Ei, 1 ≤ i ≤ 10.
Let the compliment event of Ei be denoted as
Eic 1
i
10
CASE 1: X starts the game.
P(WX) = P(E1) + P(E1cE2cE3) + P(E1cE2cE3cE4cE5) + P(E1cE2cE3cE4cE5cE6cE7) + P(E1cE2cE3cE4cE5cE6cE7cE8cE9)
P(WY) = P(E1cE2) + P(E1cE2cE3cE4) + P(E1cE2cE3cE4cE5cE6) + P(E1cE2cE3cE4cE5cE6cE7cE8) + P(E1cE2cE3cE4cE5cE6cE7cE8cE9cE10)
P(W0) = P(E1cE2cE3cE4cE5cE6cE7cE8cE9cE10c)
CASE 2: Y starts the game.
P(WX) = P(E1cE2) + P(E1cE2cE3cE4) + P(E1cE2cE3cE4cE5cE6) + P(E1cE2cE3cE4cE5cE6cE7cE8) + P(E1cE2cE3cE4cE5cE6cE7cE8cE9cE10)
P(WY) = P(E1) + P(E1cE2cE3) + P(E1cE2cE3cE4cE5) + P(E1cE2cE3cE4cE5cE6cE7) + P(E1cE2cE3cE4cE5cE6cE7cE8cE9)
P(W0) = P(E1cE2cE3cE4cE5cE6cE7cE8cE9cE10c)
Two people, X and Y, play a game alternately until one of them is successful or...
Problem 4. Two hockey teams, A and B play a series of games, until one of the teams wins 4 games. Suppose team A has probability p of winning each game, and games are independent. Let X be the total number of games that are played (a) Find the probability mass function of X (b) What is the probability that team A wins the series conditioned on X-47 (c) What is the probability that team A wins the series conditioned...
You will create a PYTHON program for Tic-Tac-Toe game. Tic-Tac-Toe is normally played with two people. One player is X and the other player is O. Players take turns placing their X or O. If a player gets three of his/her marks on the board in a row, column, or diagonal, he/she wins. When the board fills up with neither player winning, the game ends in a draw 1) Player 1 VS Player 2: Two players are playing the game...