Jump to content

Translations:KAlgebra/Probabilities/19/da

From KDE Wiki Sandbox
Revision as of 18:13, 3 September 2012 by Claus chr (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Terningerne kan for eksempel viser 6 6 6 2 3, men de kan også være 5 6 6 6 1, så vi må bruge en binomialkoefficient til at tælle disse tilfælde. For at få binomialkoefficienten for at få M ud af N bruger vi følgende formel i KAlgebra:

factorial(N) / (factorial(M) * factorial(N-M))

Det kan vi definere således: