5-E3. You are playing a game based on tossing two coins. If the result is two heads you win $5. If it is two tails your win $1 and if it is mixed you win nothing. It costs $2 to play. Should you play?
E(X) = 5 * P(Two head) + 1 * P(two tails) - 2
= 5 * (0.5)2 + 1 * (0.5)2 - 2
= -0.5
Since expected value of winning is negative, you will lose game.
You should not play.
5-E3. You are playing a game based on tossing two coins. If the result is two...
Java programming language! 1. Tossing Coins for a Dollar For this assignment you will create a game program using the Coin class from Programming Challenge 12. The program should have three instances of the Coin class: one representing a quarter, one representing a dime, and one representing a nickel. When the game begins, your starting balance is $0. During each round of the game, the program will toss the simulated coins. When a coin is tossed, the value of the...
820) A game consists of tossing 3 coins in which it costs $0.10 to play, with a reward of $1.00 by tossing all three heads. What is the cost to play 24 games? How much money do you expect to receive? ans:2
You are given 6 to 5 odds against tossing three tails with three coins, meaning you win $6 if you succeed and you lose $5 if you fail. Find the expected value (to you) of the game. Would you expect to win or lose money in 1 game? In 100 games? Explain. Find the expected value (to you) for the game.
Q.1 (25') Pony is playing coin tossing game with Yanny. They found the coin have 4 heads and 6 tails in 10 flips. Let p be the probability for obtaining a head, based on the first 10 flips a) Can we conclude it is a biased or fair coin base on the result above? b) Plot the Bernoulli's PMF What is the probability for obtaining 6 heads in 10 flips using the same coin? d) What is the probability for...
71. A game involves selecting a card from a regular 52-card deck and tossing a coin. The coin is a fair coin and is equally likely to land on heads or tails. • If the card is a face card, and the coin lands on Heads, you win $6 • If the card is a face card, and the coin lands on Tails, you win $2 • If the card is not a face card, you lose $2, no matter...
Suppose you are playing two unfair coins. The probability of tossing a tail is θ for coin 1, and 2θ for coin 2. You toss each coin for several times, and you get the following results: (a) What is the probability of tossing a head for coin 1 and for coin 2? coin no. result 1 head 2 head 1 tail 1 head 2 tail 2 tail (b) What is the likelihood of the data given ? (c) What is...
Tosssing Coins for a Dollar (C++) For this assigment, you will create a game program using the Coin class from Programming Challenge 12 (Coin Toss Simuator). The prgram should have three instances of the Coin class: one representing a quarter, one representing a dime, and one representing a nickel. When the game begins, your starting balance is $0. During each round of the game, the program will toss the simulated coins. When a coin is tossed, the value of the...
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
Suppose you are playing two unfair coins. The probability of
tossing a tail is θ for coin 1, and 2θ for coin 2. You toss each
coin several times, and you get the following results:
(a) What is the probability of tossing a head for coin 1 and for
coin 2 [3pts]?
(b) What is the likelihood of the data given θ [7pts]?
(c) What is maximum likelihood estimation for θ [7pts]?
Coin No.Result head head tail head tail tail
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...