Consider a Markov Chain which keeps track of the consecutive number of wins currently obtained when...
Consider a Markov Chain which keeps track of the consecutive number of wins currently obtained when independent rounds of a game are played where at each round the probability of winning is p. The game ends as soon as three consecutive wins have been obtained. This Markov Chain has four states 10, 1, 2, 3] representing the current number of consecutive wins with transition matrix q 0 p 0 q 0 0 p 0 0 0 1 Suppose p- 18/38...
Question 3 [10 points] Bob and Doug play a lot of Ping-Pong, but Doug is a much better player, and wins 90% of their games. To make up for this, if Doug wins a game he will spot Bob tive points in their next game. if Doug wins again he will spot Bob ten points the next game, and if he still wins the next game he will spot him ifteen points, and continue to spot hinm ifteen points as...
Question 9 [10 points] Bob and Doug play a lot of Ping-Pong, but Doug is a much better player, and wins 90% of their games. To make up for this, if Doug wins a game he will spot Bob five points in their next game. If Doug wins again he will spot Bob ten points the next game, and if he still wins the next game he will spot him fifteen points, and continue to spot him fifteen points as...
Question 9 [10 points] Bob and Doug play a lot of Ping-Pong, but Doug is a much better player, and wins 70% of their games To make up for this, if Doug wins a game he will spot Bob five points in their next game. If Doug wins again he will spot Bob ten points the next game, and if he still wins the next game he will spot him fifteen points, and continue to spot him fifteen points as...
Q4 and Q5 thanks! 4. Consider the Markov chain on S (1,2,3,4,5] running according to the transition probability matrix 1/3 1/3 0 1/3 0 0 1/2 0 0 1/2 P=10 0 1/43/40 0 0 1/2 1/2 0 0 1/2 0 0 1/2 (a) Find inn p k for j, k#1, 2, ,5 (b) If the chain starts in state 1, what is the expected number of times the chain -+00 spends in state 1? (including the starting point). (c) If...
Roulette: In the game of ro winning. If the metal ball lan player's $5. What is the expce much would you expect to lose? n the game of roulette, a player can place a $5 bet on the number 17 and have a 1/38 probability of the metal ball lands on 17, the player wins S180 (gain of $ 175) Otherwise, the casino takes the What is the expected value of the game to the player? If you played the...
Roulette is one of the most common games played in gambling casinos in Las Vegas and elsewhere. An American roulette wheel has slots marked with the numbers from 1 to 36 as well as 0 and 00 (the latter is called "double zero"). Half of the slots marked 1 to 36 are colored red and the other half are black. (The 0 and 00 are colored green.) With each spin of the wheel, the ball lands in one of these...
1. Consider the following "Gambler's Ruin" problem. A gambler starts with a certain number of dollar bills between 1 and 5. During each turn of the game, there is a .55 chance that the gambler wil win a dollar, and a .45 chance that the gamble will lose a dollar. The game ends when the gambler has either S0 or S6. Let Xn represent the amount of money that the gambler has after turn n. (a) Give the one-step transition...
Problem Statement: A company intends to offer various versions of roulette game and it wants you to develop a customized object-oriented software solution. This company plans to offer one version 100A now (similar to the simple version in project 2 so refer to it for basic requirements, but it allows multiple players and multiple games) and it is planning to add several more versions in the future. Each game has a minimum and maximum bet and it shall be able...
Using Java You are helping a corporation create a new system for keeping track of casinos and customers. The system will be able to record and modify customer and casino information. It will also be able to simulate games in the casino. Customer-specific requirements You can create new customers All new customers have a new customerID assigned to them, starting with 1 for the first, 2 for the second, 3 for the third, ect. New customers have names and monetary...