BinomialCoefficient Command

From GeoGebra Manual
Jump to: navigation, search

BinomialCoefficient( <Number>, <Number> )
Calculates the binomial coefficient \mathrm{\mathsf{ n \choose r }}. The first Number represents all elements n and the second Number represents the selected elements r.
Example: BinomialCoefficient(5, 3) yields 10.

Note Hint: If your input in the Menu view cas.svg CAS View contains undefined variables, then this command yields a formula for the binomial coefficient.
Example: BinomialCoefficient(n, 3) yields \mathrm{\mathsf{ \frac{n^{3} - 3 n^{2} + 2 n}{6} }}.
Note: See also NPr command.
© 2018 International GeoGebra Institute