I'm making a new concept for stellar generation in Orbiter Galaxy that should speed things up a bit for the generator, and I have to do some basic probability calculations for it. I remember vaguely having heard of it in elementary school, but forgott pretty much everything about it. So of course I googled and learned, but I'm not sure wheather I got it, so I'm just putting the most basic example comming to my mind up here. Just tell me wheather I got this right or not (especially the second one, I'm pretty confident about the first):
The probability to roll a six with a D6 is 1/6 = 0.16666.
If I roll it ten times, I have a (1-0.16666)^10 probability that NONE of the rolls are a six, resulting in a 0.83849 probability that I'll roll at least one six with ten rolls. Is that correct so far?
going on, the probability of rolling 2 sixes with two dicerolls is 1/6 * 1/6 = 0.02777. The probability to NOT roll 2 sixes with ten dicerolls should ergo be (1-0.02777)^5, resulting in a 0.1318 probability that I will indeed roll two sixes with ten rolls.
I'm pretty confident that I got the first one right, but have no idea about the second one. Please someone have a look at it and tell me wheather or not I got the concept, or my new stellar distributions might end up somewhat... interesting.
The probability to roll a six with a D6 is 1/6 = 0.16666.
If I roll it ten times, I have a (1-0.16666)^10 probability that NONE of the rolls are a six, resulting in a 0.83849 probability that I'll roll at least one six with ten rolls. Is that correct so far?
going on, the probability of rolling 2 sixes with two dicerolls is 1/6 * 1/6 = 0.02777. The probability to NOT roll 2 sixes with ten dicerolls should ergo be (1-0.02777)^5, resulting in a 0.1318 probability that I will indeed roll two sixes with ten rolls.
I'm pretty confident that I got the first one right, but have no idea about the second one. Please someone have a look at it and tell me wheather or not I got the concept, or my new stellar distributions might end up somewhat... interesting.