Question

In: Statistics and Probability

Problem 2 When Alice gets stressed out about her classes, she plays a game in which...

Problem 2

  1. When Alice gets stressed out about her classes, she plays a game in which she rolls a pair of dice and if the sum of the two numbers is at least 10, she “wins.” For each win, she gives herself a dollar for ice cream.

(a) The night before the final exam, Alice will play this game 10 times. What is the probability that she will win herself at least $3 for ice cream?

(b) Alice teaches this game to Bob, who is taking another course. The night before his final exam, Bob plays the game 10 times. But Bob really likes ice cream, and he’s really stressed out, so he plays with a special pair of dice that are weighted so that p(5) = p(6) = 2p(4) = 2p(3) = 2p(2) = 2p(1). (In other words, he is twice as likely to roll a 5 or a 6 than any other number.) What is the probability that Bob will win himself at least $3 for ice cream?

(c) How many times should Alice play her game to ensure that she will have at least a 50% chance of winning at least $5? (NOTE: Alice will play with the original version in (a) not Bob’s cheating version in (b).) (HINT: This may be rather tedious to calculate by hand, so you may want to write a short program to calculate it. If you do, attach an image of your code as well as a short explanation of your procedure and the final answer.)

Solutions

Expert Solution

a) In any given throw of 2 dice, the sum of 2 numbers is 10 or more when die 1 and die 2 get any of the following

Die 1 Die 2 Sum Probability
4 6 10 1/6*1/6=1/36
5 5 10 1/6*1/6=1/36
5 6 11 1/6*1/6=1/36
6 4 10 1/6*1/6=1/36
6 5 11 1/6*1/6=1/36
6 6 12 1/6*1/6=1/36
sum 1/6

From the above we can say that the probability of the sum of the two numbers is at least 10 on any given throw of 2 dice is 1/6

That is the probability that Alice wins any given throw of 2 dice is 1/6

a) Let X be the number of times Alice wins out of 10 games that she plays. We can say that X has a binomial distribution with parameters, number of trials (number of games played) n=10 and success probability ( the probability that Alice wins any given throw of 2 dice) p=1/6

The probability of winning X=x games is

the probability that she will win herself at least $3 for ice cream is same as the probability that she wins at least 3 games out of 10 that she plays

ans: the probability that she will win herself at least $3 for ice cream is 0.2248

b) given that p(5) = p(6) = 2p(4) = 2p(3) = 2p(2) = 2p(1) and the sum of probabilities is 1

In any given throw of 2 special dice of Bob, the sum of 2 numbers is 10 or more when die 1 and die 2 get any of the following

Die 1 Die 2 Sum Probability
4 6 10 1/8*1/4=1/32
5 5 10 1/4*1/4=1/16
5 6 11 1/4*1/4=1/16
6 4 10 1/6*1/8=1/32
6 5 11 1/4*1/4=1/16
6 6 12 1/4*1/4=1/16
sum 5/16

From the above we can say that the probability of the sum of the two numbers is at least 10 on any given throw of 2 special dice is 5/16

That is the probability that Bob wins any given throw of 2 special dice is 5/16

Let X be the number of times Bob wins out of 10 games that he plays. We can say that X has a binomial distribution with parameters, number of trials (number of games played) n=10 and success probability ( the probability that Bob wins any given throw of 2 dice) p=5/16

The probability of winning X=x games is

the probability that Bob will win himself at least $3 for ice cream is same as the probability that he wins at least 3 games out of 10 that he plays

ans: the probability that Bob will win himself at least $3 for ice cream is 0.6499

c) Let n be the number of games that Alice plays

Let X be the number of games that Alice wins out of the n games that she plays.

The probability of winning X=x games is

the probability that she will win herself at least $5 for ice cream is same as the probability that she wins at least 5 games out of n that she plays

We want this probability to be at least 0.50

That is, we want

R code to get this (all statements starting with # are comments and can be removed)

#start with number of trials=10
n<-10
#search for n in a loop
repeat{
#get the probability of winning at least 5 in n games played
prob<-1-pbinom(4,n,1/6)
#stop when the probability is at least 0.50
if (prob>=0.5) break;
#increment n when probability is less than 0.5
n<-n+1
}

sprintf('Alice should play her game %d times',n)

# get this

You can also do this in excel using

get this


Related Solutions

3. Mary goes to the doctor and pays for her visit. When she gets home, she...
3. Mary goes to the doctor and pays for her visit. When she gets home, she must fill out a form and submit it to the insurance company so she can be reimbursed. What type of insurance does she most likely have? A. HMO B. POS C. Indemnity D. The Blues
For this problem, you will write a program in which the computer plays a dice game...
For this problem, you will write a program in which the computer plays a dice game called Craps. You might need to explore some Python documentation on random() for this homework assignment. PROVIDE A GRAPHICAL FLOWCHART as part of your submission for this solution Rules: The player rolls two six-sided dice. After rolling, the sum of what the dice show is calculated. If the sum is 7 or 11 on the first roll, the player wins. If the sum is...
A musician in a concert hall is tuning her wind instrument. When she plays a short...
A musician in a concert hall is tuning her wind instrument. When she plays a short note she hears the echo of the note return from the opposite side of the 50.0 meter long auditorium 0.294 seconds later. Model the instrument as a tube closed at one end, if the instrument is properly tuned the note of the musician played would have a frequency of 233.082 Hz, but instead has a frequency of 226.513 Hz. This note is the first...
A musician in a concert hall is tuning her wind instrument. When she plays a short...
A musician in a concert hall is tuning her wind instrument. When she plays a short note she hears the echo of the note return from the opposite side of the 50.0 meter long auditorium 0.294 seconds later. Model the instrument as a tube closed at one end, if the instrument is properly tuned the note of the musician played would have a frequency of 233.082 Hz, but instead has a frequency of 226.513 Hz. This note is the first...
Mrs. X was getting out of her car, when she slammed the car door on her...
Mrs. X was getting out of her car, when she slammed the car door on her knee, hurting it quite badly, even though there was no broken skin or bleeding. The knee became very swollen and painful within the first couple of hours of the injury, making it difficult to walk, so Mrs. X went to an emergency room to check her knee. Explain what happened here at the cellular level (use the inflammatory reaction cascade to answer step by...
When an acrobat walks on a tightrope, she extends her arms straight out from her sides....
When an acrobat walks on a tightrope, she extends her arms straight out from her sides. She dies this to make it easier for her to catch herself if she should tip to one side or the other.  Explain how this works. You may use equations and diagrams where possible.(
2. A basketball player hits 80% of her free-throws. If she gets four (4) attempts, with...
2. A basketball player hits 80% of her free-throws. If she gets four (4) attempts, with what probability will she: a. hit exactly three free-throws; b. three or more free-throws; c. one or more free-throws? d. What is the expected number of free-throws she will hit? (The mean).
Jane returned to work when her husband deserted her and their 2 sons. She is a...
Jane returned to work when her husband deserted her and their 2 sons. She is a bitter angry person but still tries to better herself by taking classes at a local college. She reads voraciously and watches movies that are easy to find since they are low on the Netflix queue. Group of answer choices late majority innovator early adopter early majority laggard Kristina is elegant. Although in her 30's, she looks 21. She is self-assured, weight-conscious, and a trendy...
Dana is a single mother of two children, a full-time student, and has a full-time job. As you can imagine, her plate is full and she feels stressed out with all her responsibilities.
Read the scenario below and use the strategies discussed in Interactive 2A and the Week 2 reading on emotional intelligence to answe the Step 2 prompts.     Dana is a single mother of two children, a full-time student, and has a full-time job. As you can imagine, her plate is full and she feels stressed out with all her responsibilities. Dana's boss, Carlos, pulled her aside after a team meeting expressing concerns over her behavior at work. Carlos said that...
A large company has hired your friend. She confides in you about a problem with her...
A large company has hired your friend. She confides in you about a problem with her boss. Her boss has asked customers to sign sales agreements just before the end of the year, indicating a sale has been made. Her boss has told these customers that he will give them 30 days, which is Page 489 well into next year, to change their minds. If they do not change their minds, then he will send the merchandise to them. If...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT