(12C) Combination and Permutation
|
03-15-2020, 11:37 AM
(This post was last modified: 03-15-2020 11:45 AM by Gamo.)
Post: #11
|
|||
|
|||
RE: (12C) Combination and Permutation
Combination and Permutation program for HP-12C
-------------------------------------------------------- For Combination assuming that user already know that mCo = mCm = 1 mC1 = m For Permutation assuming tha user already know that mPo = 1 mP1 = m mPm = m! -------------------------------------------------------- Formula used: C(m,n) = [m x (m-1) x (m-2) x ... x (m-n+1)] ÷ (1 x 2 x 3 x ... x n) P(m,n) = m x (m-1) x (m-2) x ... x (m-n+1) -------------------------------------------------------- Program: Code:
Remark: For 2 ≤ n Example: [FIX] 0 80C5 and 80P5 80 [R/S] display 80 5 [R/S] display Combination 24,040,016 [X<>Y] display Permutation 2,884,801,920 ------------------------------------------------- Gamo 3/2020 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Combination and Permutation - BartDB - 08-17-2017, 09:49 PM
RE: (12C) Combination and Permutation - Gamo - 08-18-2017, 08:28 AM
RE: (12C) Combination and Permutation - pier4r - 08-18-2017, 08:55 AM
RE: (12C) Combination and Permutation - BartDB - 08-18-2017, 04:58 PM
RE: (12C) Combination and Permutation - pier4r - 08-18-2017, 05:12 PM
RE: (12C) Combination and Permutation - Gamo - 08-18-2017, 11:36 AM
RE: (12C) Combination and Permutation - pier4r - 08-18-2017, 12:50 PM
RE: (12C) Combination and Permutation - Joe Horn - 08-18-2017, 02:54 PM
RE: (12C) Combination and Permutation - pier4r - 08-18-2017, 03:18 PM
RE: (12C) Combination and Permutation - Dieter - 08-19-2017, 05:26 PM
RE: (12C) Combination and Permutation - Gamo - 03-15-2020 11:37 AM
|
User(s) browsing this thread: 10 Guest(s)