(12C) Permutation & Combination revisit
|
07-25-2024, 08:36 AM
Post: #1
|
|||
|
|||
(12C) Permutation & Combination revisit
This program calculate the Permutation nPr and Combination nCr
using the HP-12C with this program it can be use to do arithmetic calculation. ----------------------------------------------------------------------- Usage: For Permutaion make sure program is at the beginning [f] PRGM for Combination start program at line 16 [g] GTO 16 nPr is Permutation input n [ENTER] r [R/S] display answer nCr is Combination input n [ENTER] r [R/S] display answer Both for n > r ------------------------------------------------------------ Example: FIX 0 11P6 - 8P5 = ? [f] PRGM 11 [ENTER] 6 [R/S] display 332640 8 [ENTER] 5 [R/S] display 6720 [-] display answer 325920 ----------------------------------------------------------------- 12C5 - 9P7 = ? [g] GTO 16 12 [ENTER] 5 [R/S] display 792 [f] PRGM 9 [ENTER] 7 [R/S] display 181440 [-] display answer -180648 ------------------------------------------------------------------ 8P3 + 6C3 - 5P3 = ? [f] PRGM 8 [ENTER] 3 [R/S] display 336 [g] GTO 16 6 [ENTER] 3 [R/S] display 20 [+] display 356 [f] PRGM 5 [ENTER] 3 [R/S] display 60 [-] display answer 296 --------------------------------------------------------- Program: Quote:01 X<>Y Gamo 7/2024 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Permutation & Combination revisit - Gamo - 07-25-2024 08:36 AM
RE: (12C) Permutation & Combination revisit - Thomas Klemm - 07-28-2024, 10:57 AM
RE: (12C) Permutation & Combination revisit - C.Ret - 07-28-2024, 04:29 PM
RE: (12C) Permutation & Combination revisit - AnnoyedOne - 08-04-2024, 03:09 PM
RE: (12C) Permutation & Combination revisit - C.Ret - 08-07-2024, 05:32 PM
RE: (12C) Permutation & Combination revisit - AnnoyedOne - 08-07-2024, 05:49 PM
RE: (12C) Permutation & Combination revisit - Matt Agajanian - 07-28-2024, 05:57 PM
|
User(s) browsing this thread: 8 Guest(s)