Fortune Telling Collection - Free divination - The probability and algorithm of rolling the dice twice and at least once, thank you.
The probability and algorithm of rolling the dice twice and at least once, thank you.
The probability of an odd dice roll is 0.5, which is counted as P(A), and the probability of an even dice roll is 0.5, which is counted as P(B).
At least one odd number in two times includes:
The first odd number+the second even number
The first odd number+the second odd number
The first even number+the second odd number
Because these two throws are unrelated events.
Therefore p = p (a) p (b)+p (a) p (a)+p (b) p (a) = 0.75.
In other words, the probability that at least one of the two times is odd is the total probability minus the probability that both times are even.
That is, P= 1-P(B)P(B)=0.75.
- Previous article:What is the difference between Taoism and Buddhism in cultivation?
- Next article:Where is the best place to see maple leaves in Japan?
- Related articles
- The story told by Uncle Liu
- Why is there a peach blossom?
- How to buy the legend of zelda dlc?
- What are the skills of choosing a license plate number?
- Twelve constellations exclusive crystal shoes
- An 800-word anti-drug warning letter to parents
- The origin of Miao nationality
- The Strongest Battle of Dragon Ball: Introduction to the Examination of Divination Mother-in-law
- Wei Zi's life fortune chart Wei Zi's ten-year Universiade calculation?
- What are the constellations of "Off Chart" and "Off Chart" in the capital of IQ and EQ?