BinomialCoefficient Command

From GeoGebra Manual
Revision as of 09:52, 12 August 2012 by Murkle (talk | contribs)
Jump to: navigation, search



BinomialCoefficient[ <Number n>, <Number r>]
Calculates the binomial coefficient n \choose r .
Example:
BinomialCoefficient[5, 3] yields 10.

CAS Syntax

BinomialCoefficient[ <Number n>, <Number r>]
Calculates the binomial coefficient n \choose r . If you type undefined variables instead of numbers it yields a formula for the binomial coefficient.
Example:
BinomialCoefficient[n, 3] yields \frac{n^{3} - 3 n^{2} + 2 n}{6}.
Note: See also nPr command.
© 2024 International GeoGebra Institute