Difference between revisions of "Documentation/How Tos/Calc: COMBIN function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→See also:) |
m |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:COMBIN function}} |
+ | {{Documentation/CalcFunc MathematicalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_ABS_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_COMBINA_function | ||
+ | }}__NOTOC__ | ||
== COMBIN == | == COMBIN == | ||
Line 5: | Line 10: | ||
=== Syntax: === | === Syntax: === | ||
− | <tt>'''COMBIN( | + | <tt>'''COMBIN(n; k)'''</tt> |
− | : <tt>''' | + | : <tt>'''n'''</tt> is the number of items in the set. |
− | : <tt>''' | + | : <tt>'''k'''</tt> is the number of items to choose from the set. |
: <tt>'''COMBIN'''</tt> returns the number of ways to choose these items. For example if there are 3 items A, B and C in a set, you can choose 2 items in 3 different ways, namely AB, AC and BC. | : <tt>'''COMBIN'''</tt> returns the number of ways to choose these items. For example if there are 3 items A, B and C in a set, you can choose 2 items in 3 different ways, namely AB, AC and BC. | ||
Line 14: | Line 19: | ||
: <tt>'''COMBIN'''</tt> implements the formula: | : <tt>'''COMBIN'''</tt> implements the formula: | ||
− | :: <tt>''' | + | :: <tt>'''<i>n</i>!/(<i>k</i>!(<i>n</i>-<i>k</i>)!)'''</tt> |
=== Example: === | === Example: === | ||
Line 20: | Line 25: | ||
: returns <tt>'''3'''</tt>. | : returns <tt>'''3'''</tt>. | ||
− | + | {{SeeAlso|EN| | |
− | + | * [[Documentation/How_Tos/Calc: COMBINA function|COMBINA]] | |
− | + | * [[Documentation/How_Tos/Calc: PERMUT function|PERMUT]] | |
− | + | * [[Documentation/How_Tos/Calc: PERMUTATIONA function|PERMUTATIONA]] | |
− | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] | |
+ | |||
+ | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Mathematical functions]] |
Latest revision as of 15:07, 31 January 2024
- Mathematical FunctionsTrigonometric
- COSSINTANCOTACOSACOTASINATANATAN2DEGREESRADIANSPIHyperbolic
- COSHSINHTANHCOTHACOSHACOTHASINHATANHRounding and remainders
- TRUNCROUNDROUNDDOWNROUNDUPCEILINGFLOOREVENODDMROUNDINTQUOTIENTMODLogarithm/Powers
-