Question

In: Statistics and Probability

You are playing a version of the roulette game, where the pockets are from 0 to...

You are playing a version of the roulette game, where the pockets are from 0 to 10 and even numbers are red and odd numbers are black (0 is green). You spin 3 times and add up the values you see. What is the probability that you get a total of 15 given on the first spin you spin a 2? What about a 3?

Solve by simulation and analytically.

Solutions

Expert Solution

R-Script :

set.seed(1729)
prob<-c()
for (i in 1:1000) {
first<-sample(c(0:10), 1000, replace = T)
second<-sample(c(0:10), 1000, replace = T)
third<-sample(c(0:10), 1000, replace = T)
totalsum<-first+second+third
df<-data.frame(first, second, third, totalsum)
count2<-sum(df$first==2 & df$totalsum==15)
prob[i]<-count2/1000
}
mean(prob)

Output : 0.006055


Related Solutions

On a roulette wheel, the pockets are numbered from 0 to 36. The colours of the...
On a roulette wheel, the pockets are numbered from 0 to 36. The colours of the pockets are as follows: • Pocket 0 is green. • For pockets 1 through 10, the odd-numbered pocketsare red and the even-numberedpockets are black. • For pockets 11 through 18, the odd-numberedpocketsare black and the even-numbered pockets are red. • For pockets 19 through 28, the odd-numberedpocketsare red and the even-numberedpockets are black. • For pockets 29 through 36, the odd-numberedpocketsare black and the...
4. On a roulette wheel, the pockets are numbered from 0 to 36. The colours of...
4. On a roulette wheel, the pockets are numbered from 0 to 36. The colours of the pockets are as follows: • Pocket 0 is green. • For pockets 1 through 10, the odd-numbered pockets are red and the even-numbered pockets are black. • For pockets 11 through 18, the odd-numbered pockets are black and the even-numbered pockets are red. • For pockets 19 through 28, the odd-numbered pockets are red and the even-numbered pockets are black. • For pockets...
Write a code on Jupytor notebook: On a roulette wheel, the pockets are numbered from 0...
Write a code on Jupytor notebook: On a roulette wheel, the pockets are numbered from 0 to 36. The colors of the pockets are as follows: Pocket 0 is green. For pockets 1 through 10, the odd-numbered pockets are red and the even-numbered pockets are black. For pockets 11 through 18, the odd-numbered pockets are black and the even-numbered pockets are red. For pockets 19 through 28, the odd-numbered pockets are red and the even-numbered pockets are black. For pockets...
For this project, you will analyze the famous casino game, Roulette. In the game of Roulette,...
For this project, you will analyze the famous casino game, Roulette. In the game of Roulette, there is a wheel consisting of 38 numbers: 18 black numbers, 18 red numbers, and 2 green numbers (0 and 00). The wheel is spun and a ball is released into the wheel. As the wheel comes to a stop, the ball will land on one of the numbers. A player will place their bet before the wheel is spun. A player can make...
STRAIGHT FROM THE BOOK Roulette In the casino game of roulette there is a wheel with...
STRAIGHT FROM THE BOOK Roulette In the casino game of roulette there is a wheel with 19 black slots, 19 red slots, and 2 green slots. In the game, a ball is rolled around a spinning wheel and it lands in one of the slots. It is assumed that each slot has the same probability of getting the ball. This results in the table of probabilities below. Fair Table Probabilities   black     red     green   Probability   19/40 19/40 2/40 You watch the...
We are in casino playing roulette, American version. We decided to play only red/black, i.e. to...
We are in casino playing roulette, American version. We decided to play only red/black, i.e. to bet on red only. We will use the Martingale strategy. A game starts with the first bet of 1 chip. If you win the game is over. You won a game. If you loose, you double your bet. You proceed to double your bet till you finally win or if you loose 6 in a row. Either way that concludes one game. You start...
Outcomes in roulette. One game that is popular in many American casinos is roulette. Roulette is...
Outcomes in roulette. One game that is popular in many American casinos is roulette. Roulette is played by spinning a ball on a circular wheel that has been divided into 38 arcs of equal length; these bear the numbers 00, 0, 1, 2, . . . , 35, 36. The number on the arc at which the ball comes to rest is the outcome of one play of the game. The numbers are also colored in the following manner: Red:...
A roulette wheel is divided into 38 labeled pockets, 18 of which are red, 18 are...
A roulette wheel is divided into 38 labeled pockets, 18 of which are red, 18 are black, and 2 are green. Each round, you can place a $1 bet on one specific red or black pocket with odds of 35 : 1. That is, if you are correct you receive $35 in addition to the dollar you bet, and if you are incorrect, you get nothing. Your friend has developed what he describes as a “foolproof system” for winning. It...
ROULETTE is a casino game where a numbered wheel spins and a steel ball falls into...
ROULETTE is a casino game where a numbered wheel spins and a steel ball falls into a location marked by one particular colored number. In the United States there are 18 locations colored red, 18 locations colored black and 2 locations colored green. The red and black locations are numbered 1-36 and the green locations are labeled "0" and "00" as shown in the picture to the right. The wheel therefore has 38 locations in total. Note that the odd...
ROULETTE is a casino game where a numbered wheel spins and a steel ball falls into...
ROULETTE is a casino game where a numbered wheel spins and a steel ball falls into a location marked by one particular colored number. In the United States there are 18 locations colored red, 18 locations colored black and 2 locations colored green. The red and black locations are numbered 1-36 and the green locations are labeled "0" and "00" as shown in the picture to the right. The wheel therefore has 38 locations in total. Note that the odd...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT