Sunday, November 28, 2021

HP Prime: Graphs of Permutation and Combination

HP Prime:  Graphs of Permutation and Combination


Definitions


Permutation:

perm(n, x) = n! ÷ (n - x)!


Combination:

comb(n, x) = n! ÷ (x! × (n - x)!)


Combination with Repeated Choices allowed:

comb(n + x - 1, x) = (n + x - 1)! ÷ (x! × (n - 1)!)


For the following graphs, I use screen shots with the HP Prime Virtual Calculator.


Discrete Graphs  


Let n and x be positive integers.






Continuous Graphs


N is still a positive integer while x is a positive real number.   The factorial can be represent as the Gamma function as  x! = Γ(x+1).  








3D-Graphs


The variables  x and y take real values.




Eddie 

All original content copyright, © 2011-2021.  Edward Shore.   Unauthorized use and/or unauthorized distribution for commercial purposes without express and written permission from the author is strictly prohibited.  This blog entry may be distributed for noncommercial purposes, provided that full credit is given to the author.