Difference between revisions of "Manuals/calci/COMBIN"

From ZCubes Wiki
Jump to navigation Jump to search
Line 25: Line 25:
 
{{#ev:youtube|4AQx4Hnctcw|400|right|Combination}}
 
{{#ev:youtube|4AQx4Hnctcw|400|right|Combination}}
 
*The syntax is to calculate COMBIN in ZOS is COMBIN(Number,Numberchoen)
 
*The syntax is to calculate COMBIN in ZOS is COMBIN(Number,Numberchoen)
**<math>n</math> is the number of items.
+
**<math>Number</math> is the number of items.
**<math>r</math> is the  number of items in each arrangement.
+
**<math>Numberchosen</math> is the  number of items in each arrangement.
 +
**For e.g.,COMBIN(20..23,6..7)
  
 
==Examples==
 
==Examples==

Revision as of 03:09, 9 April 2014

COMBIN(number,Numberchosen)


  • is the number of items.
  • is the number of items in each arrangement.

Description

  • This function gives the combination of objects.
  • i.e An arrangement of objects without any repetition, selected from different objects is called a combination of objects taken at a time.
  • If the order is not a matter, it is a Combination.
  • If the order is a matter it is a Permutation.
  • Let Number be "n" and Number chosen be "r".
  • A combination is denoted by nCr or .
  • A formula for the number of possible combinations of objects from a set of objects is:
 

where & .

  • This function will give Error Result when
  1. The & are non numeric
  2. The & or
  • When we are giving the & values in decimals, it will automatically convert into Integers.
  • For e.g.
    • COMBIN(5.4,2)=10 is equivalent to COMBIN(5,2)
    • COMBIN(5,-2)=NAN, because is negative.

ZOS Section

Combination
  • The syntax is to calculate COMBIN in ZOS is COMBIN(Number,Numberchoen)
    • is the number of items.
    • is the number of items in each arrangement.
    • For e.g.,COMBIN(20..23,6..7)

Examples

COMBIN(n,r) n r RESULT
COMBIN(12,3) 12 3 220
COMBIN(4,4) 4 4 1
COMBIN(4,0) 4 0 1

See Also

References

Combination