In the game “cobbler’s purse,” a player chooses a number in the set S = {2, 3, . . . , 12}. and then rolls a pair of dice. The player wins if the sum of the results of the two dice is equal to the number chosen.
a) Assuming that the player chooses their number from the set S, each with equal likelihood, what is the probability that they will win?
(b) Assuming that the player chooses their number from the set S, each with equal likelihood, what is expected number of games they will have to play in order to win?
In the game “cobbler’s purse,” a player chooses a number in the set S = {2,...
In the game “cobbler’s purse,” a player chooses a number in the set S = {2, 3, . . . , 12}. and then rolls a pair of dice. The player wins if the sum of the results of the two dice is equal to the number chosen. a). Assuming that the player chooses their number from the set S, each with equal likelihood, what is the probability that they will win? b). Assuming that the player chooses their number...
In the game of Lucky Sevens, the player rolls a pair of dice. If the dots add up to 7, the player wins $4; otherwise, the player loses $1. Suppose that, to entice the gullible, a casino tells players that there are many ways to win: (1, 6), (2, 5), and soon. A little mathematical analysis reveals that there are not enough ways to win to make the game worthwhile; however, because many people's eyes glaze over at the first...
C# Code: Write the code that simulates the gambling game of craps. To play the game, a player rolls a pair of dice (2 die). After the dice come to rest, the sum of the faces of the 2 die is calculated. If the sum is 7 or 11 on the first throw, the player wins and the game is over. If the sum is 2, 3, or 12 on the first throw, the player loses and the game is...
Problem 9 A single game of craps (a dice game) consists of at most two rolls of a pair of six sided dice. The ways to win are as follows: Win-the first roll of the pair of dice sums to either 7 or 1 (you win, game over, no second roll Win the first roll of the pair of dice does NOT sum to either 7 or 1 but the sum of the second roll is equal to the sum...
1 point) Three brothers play a game with a pair of fair (six-sided) dice. Scott will win if the sum of the dice is 3, Dave will win if 9, and Jim if 11 They will roll the die until a winner is declared Part (c) Realizing this, theoretically, is a game that could go on forever..the three brothers decide that if no winner has been decided in three rolls or "turns" Scott will be deemed the winner. Let Y...
in c programming and c++filed
Exercise 1: A Game of guessing number Set the default upper and lower limits to be 1-100, and ask you to guess a number. If you do not guess the correct number, the program will nicely" automatically adjust the upper or the lower limits to save your day until you guess it. 2 0 12. 51 - 100 3 2 51 74 22 65 74 85 2 71 74 3 . 2 73 74 75...
Bob and Doug are playing the following game. Bob starts by rolling two fair dice; if the sum of his dice is six, then he wins the game. If not, then Doug rolls the dice, and if the sum of his rolls is seven, then he wins the game. If neither player wins the game during the first round, then they repeat the process (with Bob going first) until someone wins a round. What is the probability that Bob wins...
In a dice game, the player independently rolls a fair red die and a fair green die.The player wins if and only if the red die shows a 1, or 2, or 3, or if the total on the two dice is 11. What is the probability the player will win?
Find the the expected value. Thank you.
Problem 2: A player chooses one of the numbers 1 through 4. After the choice has been made, two regular four-sided (tetrahedral) dice are rolled, with the sides of the dice numbered 1 through 4 If the number chosen appears on the bottom of exactly one die after it has been rolled, then the player wins $1 dollar. If the number chosen appears on the bottom of both of the dice, then the...
Each of two players chooses a number '1' or '2' independently from the other player. P1 wins if the sum is odd. If the sum is even, p2 wins. The payoff to P1 is P1's number multiplied bt P2's number. Find the matrix of this zero-sum game, the value, and the optimal strategies of the players