Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1: −
<div style="font-size:30px">'''PERMUT(n,nc)'''</div><br/>
+
<div style="font-size:30px">'''PERMUT(Number,NumberChosen)'''</div><br/>
*<math>n</math>  and <math> nc </math> are integers
+
*<math>Number</math>  and <math> NumberChosen </math> are integers
    
==Description==
 
==Description==
Line 7: Line 7:  
*A selection of objects in which the order of the objects matters.
 
*A selection of objects in which the order of the objects matters.
 
*A Permutation is an Ordered Combination.
 
*A Permutation is an Ordered Combination.
*In <math>PERMUT(n,nc)</math>, <math>n</math> is an integer which is indicating the number of objects and <math>nc</math> is an integer which is indicating the number of objects in each permutation.
+
*In <math>PERMUT(Number,NumberChosen)</math>, <math>Number</math> is an integer which is indicating the number of objects and <math>NumberChosen</math> is an integer which is indicating the number of objects in each permutation.
*For <math>n</math> and <math>nc</math>, when we give in decimals, it will change into integers.  
+
*For <math>Number</math> and <math>nc</math>, when we give in decimals, it will change into integers.  
 
*The formula for the number of permutation is: <math>_n P_k= \frac {n!}{(n-k)!}</math>
 
*The formula for the number of permutation is: <math>_n P_k= \frac {n!}{(n-k)!}</math>
 
*The Permutation is denoted by <math> _nP_k</math>, <math>P_{n,k}</math>, or <math>P(n,k) </math>.This function will give the result as error when  
 
*The Permutation is denoted by <math> _nP_k</math>, <math>P_{n,k}</math>, or <math>P(n,k) </math>.This function will give the result as error when  
  1.<math>n</math> and <math>nc</math> are non-numeric.
+
  1.<math>Number</math> and <math>NumberChosen</math> are non-numeric.
  2.Suppose <math> n \le 0</math>  or  <math>nc < 0</math> or <math>n < nc </math>.
+
  2.Suppose <math> Number \le 0</math>  or  <math>NumberChosen < 0</math> or <math>Number < NumberChosen </math>.
    
==Examples==
 
==Examples==
writer
6,694

edits

Navigation menu