Post Reply 
(12C) Maximum and Minimum
06-12-2017, 02:43 AM
Post: #1
(12C) Maximum and Minimum
HP 12C: Minimum of a Set

Instructions:
1. Enter the initial point in R1. Press [ f ] (CLEAR PRGM).
2. For each point: enter the data point, press [R/S].
3. When you are finished, press RCL 1.
Code:

Program:
STEP    CODE    KEY
01    44, 0    STO 0
02    45, 1    RCL 1
03    34    x<>y
04    43, 34    x≤y
05    44, 1    STO 1
06    43, 33, 00    GTO 00


Example:
9 [ST0] 1, [ f ] (CLEAR PRGM)
3 [R/S], 6 [R/S], 5 [R/S], 7 [R/S], 2 [R/S], 4 [R/S]
[RCL] 1 returns 2

HP 12: Maximum of a Set

Instructions:
1. Enter the initial point in R2. Press [ f ] (CLEAR PRGM).
2. For each point: enter the data point, press [R/S].
3. When you are finished, press RCL 2.
Code:

Program:
STEP    CODE    KEY
01    44, 0    STO 0
02    45, 2    RCL 2
03    43, 34    x≤y
04    34    x<>y
05    44, 2    STO 2
06    43, 33, 00    GTO 00

Example:
9 [ST0] 2, [ f ] (CLEAR PRGM)
3 [R/S], 6 [R/S], 5 [R/S], 7 [R/S], 2 [R/S], 4 [R/S]
[RCL] 2 returns 9
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(12C) Maximum and Minimum - Eddie W. Shore - 06-12-2017 02:43 AM



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