Using MATlLab
You are playing the board game “Risk” when your friend asks you:
“Do you think it is more likely to roll a total of eight or nine
when rolling three dice?”
Develop a program to determine if the probability of rolling an
eight or a nine is greater
To do this, you will need to check every possible combination of
dice rolls (for example: 1-1-1, 1-2-3, 6-6-6)
Hint: Nested for loops to count rolls of eight and nine
Hint: Selection structure after loops to compare totals
Part A: What if you want to compare the probabilities of other
rolls?
Modify your program to accept input for any two total die
rolls
Verify that the totals entered by the user are between the minimum
and maximum totals
Part B: What if your friend wants to know what the probabilities
actually are?
Modify your program to calculate and output the probabilities of
each of the two rolls occurring as well as which is greater
Part C: What if you want to compare probabilities for all possible
rolls?
Modify your program to calculate probabilities for all possible
rolls and output all probabilities in a table and histogram
We need at least 10 more requests to produce the answer.
0 / 10 have requested this problem solution
The more requests, the faster the answer.
Using MATlLab You are playing the board game “Risk” when your friend asks you: “Do you...
You and a friend are playing a game. You alternate turns rolling a single die, and the first person to roll a 1 or a 2 wins. Your friend goes first. a. What’s the probability that the game ends in three rolls or fewer? b. What’s the expected number of rolls? c. What’s the probability that your friend wins?
15. Your friend challenges you to a game. She says that she is going to roll 2 6-sided dice. If the first die rolls at least 5, you win if the second die rolls less than 5. If the first die rolls less than 5, you win if the second die rolls at least 5. This seems fair. Is it? (a) What is the probability that you win this game? To incentivize you, your friend says that she will pay...
You and a friend are rolling a set of 6 dice. The game works such that if a die shows the values 1, 2, or 3 you will get a point for that die. Each die that shows 4, 5, or 6 your friend will get a point for. Construct a probability model for a single roll of the dice then answer the following. A)What is the probability you made 2 points? B)What is the probability that your friend will...
You and a friend are rolling a set of 7 dice. The game works such that if a die shows the values 1, 2, 3, or 4 you will get a point for that die. Each die that shows 5 or 6 your friend will get a point for. Construct a probability model for a single roll of the dice then answer the following. A)If we play a second round of this game, what is the probability that you will...
Using java
Sample Outputs
Write a program which asks the user for an integer and then prints the following patterns based on that integer. Input Validation For Pattern 1, the input must be a value between 1 and 999 For Pattern 2, the input must be a value between 1 and 26. Requirements: For Pattern 1: must be able to work with up to three digit numbers. You will want to use printf to get the spacing correct. For Pattern...
When playing a board game, you notice that you seem to be rolling a lot of 6’s. Suspecting that the die may be loaded (in a way that favors rolling a 6), you give the die 50 test rolls. The die came up “6” a total of 15 times. (4 pts) State a null hypothesis and alternative hypothesis (symbolically) to test the claim that the die is loaded (as you suspect it is). (3 pts) List and check the appropriate...
You and a friend are rolling a seet of 7 die. The game works such that if a die shows the values 1,2,3 or 4 you will get a point for that die. Each die that shows a 5 or 6 your friend will get a point for. Construct a probability model for a single roll of the dice then answer the following: step 1 of 5: What is the probability that YOU made 2 points? Step 2 of 5:...
Playing Dice 1 point possible (graded) You and your friend play dice games for fun, but one day you suspect that the die your friend uses is not fair. You will gather data and use the tools of hypothesis testing in this problem to provide a plausible answer as to whether or not the die is tan Pp Your statistical model is ({1,2,3,4,5,6},{Pp ). You roll the die 15 times, writing the sample as random variables X1,..., X15 where p...
A friend bets you $100 on a game involving two six-sided dice, one red and one green. You choose the number of times the pair of dice will be rolled. You win if the number of times a red 6 is rolled is at most 2 and the number of times a green 6 is rolled is at least 2. a) How many times should the dice be rolled to maximise your chance of winning? b) With that number of...
Please box or bold font answers. You and a friend are playing a game with 7 dice, in this game, you will receive points for every die that displays values less than 4 and your friend will receive points for every other die. The object of the game is to score more than 16 points before the end of the third round. Step 1 of 5: After the first round of this game, what is the probability you have 2...