Boris and Natasha agree to play the following game. They will flip a (fair) coin 5...
4. Boris and Natasha agree to play the following game. They will flip a coin 5 times in a row. They will compute S = ( number of heads H – number of tails T). a) Boris will pay Natasha S. Graph Natasha’s payoff as a function of S. What is the expected value of S? b) How much should Natasha be willing to pay Boris to play this game? After paying this amount, what is her best case and...
Consider a game in which a coin will be flipped three times. For each heads you will be paid $100. Assume that the coin comes up heads with probability 1/3. a. Construct a table of the possibilities and probabilities in this game. Probability Outcome Possibilities 0 heads, 3 tails / 1 heads, 2 tails 2 2 heads, 1 tails 3 3 heads, 0 tails b. Compute the expected value of the game. The expected value of the game is $...
Consider a game in which a coin will be flipped three times. For each heads you will be paid $100. Assume that the coin comes up heads with probability 1/3. a. Construct a table of the possibilities and probabilities in this game. Probability Outcome Possibilities 0 heads, 3 tails / 1 heads, 2 tails 2 2 heads, 1 tails 3 3 heads, 0 tails b. Compute the expected value of the game. The expected value of the game is $...
Problem 2: Tails and (Heads or Tails?) Alice and Bob play a coin-tossing game. A fair coin (that is a coin with equal probability of 1. The coin lands 'tails-tails' (that is, a tails is immediately followed by a tails) for the first 2. The coin lands 'tails-heads (that is, a tails is immediately followed by a heads) for the landing heads and tails) is tossed repeatedly until one of the following happens time. In this case Alice wins. first...
If you are playing a coin toss game and following is the payoff table Result Payoff Heads Get $25 Tails Lose $25 Assume that you have $100, after you play the game once, how much money will you have? A.$100 since the expected payoff of this game is 0. B. $125 OR $75 C. $625 since the variance of the payoff is 625 D. not enough information
35. You and I play the following game: I toss a coin repeatedly. The coin is unfair and P(H) = p. The game ends the first time that two consecutive heads (HH) or two consec- utive tails (TT) are observed. I win if (HH) is observed and you win if (TT) is observed. Given that I won the game, find the probability that the first coin toss resulted in heads?
Consider a pay-to-play game which involves flipping a coin three (3) times. The payout for the game depends on the number of heads obtained in the three coin flips. Let the discrete random variable X represent the number of heads. a) What is the probability P{X = k} associated with each value k of the random variable? b) Suppose that the game has a payout of X^2 dollars. What is the minimum amount that should be charged for admittance (player...
Suppose you can place a bet in the following game. You flip a fair coin (50-50 chance it lands heads). If it lands heads, you get 4 dollars, if it lands tails, you pay 1 dollar. This is the only bet you can make. If you don't make the bet you will neither gain nor lose money. What is the utility for you of the coin landing tails if you make the bet (assume utility is dollars)?
A simple game of chance Using a while loop write a simple coin flip game. Specifics: The user starts with a bank of $10.00 It costs a dollar to play A correct guess pays $2.00 The while loop is used for the game loop. It should ask if the user wants to play. The while loop will check for a value of 'Y' or 'N'. You should also allow for lower case letters to be input. You MUST prime the...
Suppose we flip a fair coin n times. We say that the sequence is balanced when there are equal number of heads and tails. For example, if we flip the coin 10 times and the results are HT HHT HT T HH, then this sequence balanced 2 times, i.e. at position 2 and position 8 (after the second and eighth flips). In terms of n, what is the expected number of times the sequence is balanced within n flips?