Difference between revisions of "Manuals/calci/PERMUT"

From ZCubes Wiki
Jump to navigation Jump to search
Line 33: Line 33:
 
==References==
 
==References==
 
[http://en.wikipedia.org/wiki/Permutation Permutation ]
 
[http://en.wikipedia.org/wiki/Permutation Permutation ]
 +
 +
 +
[[Z_API_Functions | List of Main Z Functions]]
 +
 +
[[ Z3 |  Z3 home ]]

Revision as of 06:28, 9 March 2017

PERMUT(n,nc)


  • and are integers

Description

  • This function gives the number of Permutations for a given number of objects.
  • A permutation, also called an "arrangement number" or "order", is a rearrangement of the elements of an ordered list.
  • A selection of objects in which the order of the objects matters.
  • A Permutation is an Ordered Combination.
  • In , is an integer which is indicating the number of objects and is an integer which is indicating the number of objects in each permutation.
  • For and , when we give in decimals, it will change into integers.
  • The formula for the number of permutation is:
  • The Permutation is denoted by , , or .This function will give the result as error when
1. and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle nc}
 are non-numeric.
2.Suppose Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle  n \le 0}
  or  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle nc < 0}
 or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n < nc }
.

Examples

  1. =PERMUT(14,2) = 182
  2. =PERMUT(50,5) = 254251200
  3. =PERMUT(10.2,3) = 720
  4. =PERMUT(4,0) = 1
  5. =PERMUT(6,1) = 6

Related Videos

PERMUT

See Also

References

Permutation


List of Main Z Functions

Z3 home