The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
(12C Platinum) Combination Permutation
12-03-2018, 06:05 AM (This post was last modified: 12-03-2018 06:20 AM by Gamo.)
Post: #1
(12C Platinum) Combination Permutation
This program is from HP 12C Platinum Solutions Handbook.

To solve for Combination and Permutation the "Flags"
is use instead of manually go to [GTO] xxx
to go to specific program line.

Enter 0 to calculate Combination
Enter 1 to calculate Permutation

---------------------------------------------------

Procedure:

0 [R/S] display 0 // for Combination

m [=] n [R/S] display Answer for Combination
----------------------------------------------------
1 [R/S] display 1 // for Permutation

m [=] n [R/S] display Answer for Permutation
----------------------------------------------------

Example:

5C3

0 [R/S] display 0 // calculate Combination

5 [=] 3 [R/S] display 10

-----------------------------------------------
11P4

1 [R/S] display 1 // calculate Permutation

11 [=] 4 [R/S] display 7920
-----------------------------------------------

Program: Combination Permutation (ALG Mode)
Code:

X=0
GTO 016
1
R/S
LSTx
-
X<>Y
=
X<>Y
n!
÷
X<>Y
n!
=
GTO 000
0
R/S
LSTx
-
X<>Y
=
X<>Y
n!
÷
X<>Y
n!
÷
LSTx
n!
=

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(12C Platinum) Combination Permutation - Gamo - 12-03-2018 06:05 AM



User(s) browsing this thread: 1 Guest(s)