Assuming without repeats:
40C5 = 40!/(40-5)!5!
= 40x39x38x37x36x35x34x...x2x1/(35x34x...x2x1)x(5x4x3x2x1)
= (5x4x2)x(3x13)x38x37x36/5x4x3x2x1
= 13x38x37x36
= 658008
Chat with our AI personalities
Discrete variables must be countable and not negative. So no a negative number must be a continuous variable.
3.24 is rational because rational numbers are any number... the only numbers not rational are ones that go forever in a random pattern (ex. 3.14159265...). 3.363636363636... is rational because it goes on in a pattern. Hope that helped :)
The probability of selecting a 17 (or any number for that matter) is 1/20 or .05 or 5%.
That would be a discrete variable; or, in your case, it would probably be called a discrete random variable.
Yes, it is. All you need to do is to ensure that there is no repeating pattern in the digits. You could use random numbers to generate a sequence of 1s and 2s but unfortunately, most of these are actually pseudo-random number generators: they generate sequences which pass the tests for randomness up to a point but eventually fail. You could try linking the decision the hoice of 1s and 2s to tosses of a coin or to radioactive decay which are random.Alternatively, you could try1.21121112111121111121111112... where the length of the string of 1s increases by 1 between the 2s.