Difference between revisions of "Documentation/How Tos/Calc: PERMUTATIONA function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→See also:) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 18: | Line 18: | ||
: returns <tt>'''9'''</tt>, as in the example above. | : returns <tt>'''9'''</tt>, as in the example above. | ||
− | + | {{Documentation/SeeAlso| | |
− | [[Documentation/How_Tos/Calc: PERMUT function| | + | * [[Documentation/How_Tos/Calc: PERMUT function|PERMUT]], |
− | [[Documentation/How_Tos/Calc: COMBIN function| | + | * [[Documentation/How_Tos/Calc: COMBIN function|COMBIN]], |
− | [[Documentation/How_Tos/Calc: COMBINA function| | + | * [[Documentation/How_Tos/Calc: COMBINA function|COMBINA]] |
− | [[Documentation/How_Tos/Calc: Statistical functions| | + | * [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]] |
− | [[Documentation/How_Tos/Calc: Mathematical functions| | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] |
− | [[Documentation/How_Tos/Calc: Functions listed alphabetically| | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] |
− | [[Documentation/How_Tos/Calc: Functions listed by category| | + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} |
Revision as of 14:11, 25 February 2009
PERMUTATIONA
Returns the number of ordered permutations, allowing repetition.
Syntax:
PERMUTATIONA(n; k)
- where n and k are integers.
- PERMUTATIONA returns the number of ordered ways that k objects can be chosen from a set of n objects, where an object can be chosen repeatedly. For example with a set of 3 objects A, B, C, we can choose 2 as follows: AA, AB, AC, BA, BB, BC, CA, CB, CC.
- PERMUTATIONA simply calculates nk.
Example:
PERMUTATIONA(3; 2)
- returns 9, as in the example above.