LogFAQs > #934538694

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, DB5, Database 6 ( 01.01.2020-07.18.2020 ), DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicSaveEstelle & LeonhartFour in Different Houses: Eclectic Edition [SELF]
LordoftheMorons
02/18/20 5:57:30 AM
#285:


If you have probability p per roll of getting X, the odds that exactly k out of n rolls give you X is p^k*(1-p)^(n-k)*(n choose k)

Here (n choose k) = n!/(k!*(n-k)!) is a binomial coefficient, which is the number of ways to choose k items out of n without replacement (and where order doesn't matter).

---
Congrats to Advokaiser for winning the CBX Guru Challenge!
... Copied to Clipboard!
Topic List
Page List: 1