Difference between revisions of "BinomialCoefficient Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{command +{{command|cas=true)) |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.0}}</noinclude> | <noinclude>{{Manual Page|version=4.0}}</noinclude> | ||
− | {{command|algebra}} | + | {{command|cas=true|algebra}} |
;BinomialCoefficient[ <Number n>, <Number r>] | ;BinomialCoefficient[ <Number n>, <Number r>] | ||
:Calculates the binomial coefficient <math> n \choose r </math>. | :Calculates the binomial coefficient <math> n \choose r </math>. |
Revision as of 13:43, 10 September 2011
- 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}.