0
votes
1answer
40 views

probabilities for obtaining 3 dice result

I am developing an app that needs a 3 dice result and there are two methods I can use: method a) create a matrix of 216 possible combinations and choose 1 randomly method b) or generate 3 ...
0
votes
2answers
49 views

Consider throwing two six-sided dice.

Let X be the sum of the two values and let Y be the product of the two values. What is the value of P(Y = i) for i = 1,2,3...36. I am having trouble approaching this problem. We are learning about ...
1
vote
1answer
119 views

Yahtzee Bar Game

A bar near where I work has a game where you pay $5$ dollars which gets you two chances of rolling $5$ dice and if roll results in all of the dice having the same number you win the running pot, ...
1
vote
2answers
107 views

Why does multiplying n by a random number give you a random number between 0 and n?

I have been following the tutorial at Codecademy I see that, as part of the process of creating a virtual die we multiply 'a random number between 0 and 1' by 6 to give us a random number between 0 ...