HP 28S Scientific Calculator POCKET BOOK - Oct 1988 - hp28-pb - 40pages+rotates+++
HP 28S Scientific Calculator POCKET BOOK - Oct 1988 - hp28-pb - 40pages+rotates+++
>
i
-
o
3 Degree of polynomial
W
'8*X+2*X"2+.25*X"4’ Integrated expression
Numerical Integration
'X"3+4*X+8’ Integrand
™A~
Compound Units
1 Quantity of unit identified in level 2
"b*Mpc/s" Barn-megaparsecs per second
"gal/h" Gallons per hour
Il [CONVERT] =
2.93453978138
"gal/h" Gallons per hour
UNIT PREFIXES
HP-28 Symbol Prefix Number Name
E exa +18 quintillion
P peta +15 quadrillion
T tera +12 trillion
G giga +9 billion
M mega +6 million
k,K kilo +3 thousand
h,H hecto +2 hundred
D deka +1 ten
d deci -1 tenth
c centi -2 hundredth
m milli -3 thousandth
P micro -6 millionth
n nano -9 billionth
p pico -12 trillionth
f femto -15 quadrillionth
a atto -18 quintillionth
RESERVED NAMES
Name Description
EQ Current equation for root-finding and plotting
PPAR Plot parameters
der... User-defined derivatives begin with der
n1, n2, ... Arbitrary integers created by ISOL
s1, s2, ... Arbitrary signs created by ISOL and QUAD
2DAT Current statistical array
2PAR Statistics parameters
TRUTH TABLE
argi argq argq NOT
1 1 1 1 0 0
1 0 0 1 1 0
0 1 0 1 1 1
0 0 0 0 0 1
"s¢" "sy" "s3" "S4" "S5" "Sg"
KEY STRINGS
Key String Key String
[(A] "UpP" "INS"
V] "DOWN" "DEL"
(] "LEFT" "
[>] "RIGHT" 6> "CURSOR"
"BACK" SPACE "
N H "SHIFT"
=
KEY returns either a 0 flag to level 1 or a 1 flag to level 1 and a
string representing the oldest key in the buffer to level 2. Keys
not listed here return their keyboard nomenclature.
SYSTEM
OPERATIONS
Name Keystrokes
Attention
Print Display (28S only)
Contrast Control or [ON][-]
System Halt [ONI[A]
Memory Reset [ON][INS][>]
Repeating Test [ON][T]
Keyboard Test (28S only)
Cancel System Operation
INTERACTIVE
PLOT MODE
Key Action
[INS] Return cursor coordinates to stack.
DEL Return cursor coordinates to stack (28C).
DEL Return LCD- string to stack (28S).
[)[=] Move the cursor. (Press the shift
(AlV] key first to move to the edge.)
o] Display cursor coordinates (28S only).
Print the display (28S only).
End interactive plot mode.
SYSEVAL ENTRIES
Description 28C 28C 28S
1BB 1CC 2BB
ROM version A A A
Clock 123E 1266 11CA
Command stack off F3B8 F3CE
Command stack on F39A F3BO
LAST off F3F4 F40A
LAST on F3D6 F3EC
UNDO off F44E F464
UNDO on F412 F428
Multi-line display off F4B2 F4C8
Multi-line display on F48F F4A5
Command stack toggle 21E02
LAST toggle 21E2F
UNDO toggle 21E5C
Multi-line display toggle 21EA7
HP-28S MENUS
n Standard Menu n Standard Menu
1 ARRAY 13 PRGM CONTRL
2 BINARY 14 PRGM BRANCH
3 COMPLEX 15 PRGM TEST
4 STRING 16 MODE
5 LIST 17 LOGS
6 REAL 18 PLOT
7 STACK 19 CUSTOM
8 STORE 20 Cursor
9 MEMORY 21 TRIG
10 ALGEBRA 22 SOLVE
11 STAT 23 USER
12 PRINT 24 Solver
9
OBJECT OPERATOR
TYPES PRECEDENCE
Type Object Level Operation
Real number Expressions within parentheses
~ NM<T OO
or-ranmgtwONOO2
String
Real vector or matrix Negate (), multiply (*), divide (/)
Complex vector or matrix Add (+) and subtract (-)
List Relational operators
Global name ==, #,<,>, =, =)
Local name AND and NOT
N~ OO
Program OR and XOR
Algebraic
Binary integer
PRINTER COLUMN GRAPHICS
CONTROL Dot Value Example
~ AN <t OOAN YT
Control
Printer Mode
Codes*
Carriage right 4
11
Carriage return/LF 10
Column graphics 27 n Cy..C,T
6
Underline off: 27 250
128 o ° ® ® o o ° o
Underline on 27 251
Single wide printf 27 252 255 197 171 149 169 213 163 255
Double wide print 27 253 285 LCD: <<255 197 171 149 169 213 163 255 "" 1 8 START
Self-test 27 254 SWAP CHR SWAP + NEXT CLLCD -LCD >
Reset 27 255 PRINTER: <<27 8 255 197 171 149 169 213 163 255 "" 1 10
*Decimal value 1 1=n=<166 tDefault mode START SWAP CHR SWAP + NEXT PR1 > [
PPAR AND >2PAR PARAMETERS
PPAR = { (Xmin, ¥min) (Xmax: Ymax) indep-var resolution (Xaxs,
Yaxs) }
Parameter Affected By Commands Description
i
N
i
+
[ X114 Xi2 oo Xim ] 7 Append one data point with m coordinate values
i
N
1
+
[[ X2t Xop oo Xom ]
1
> 7 Append n data points with m coordinate values
i
+
13
[ Xt Xn2 - Xam 1]
S-= 17 Reverses the effect of the last==+ =
Coordinate Number
Data Point
>
vl
[ee
I ST STtTTeRN[ ST) SRNl4]
o P o P fo e P o OO
=~JITN P S OO0 =N e QOO
W | e W et=3 S R =
O TR T Ae OGO TTR
D0 R e TN D ST I
Froeets froscbe b fooccds ookl e froade frrmebs foracte frovebe frovic franate oosebe foneabe froects freende
o Fa B 0O D L L I OI
AP SO0 QO =JTR B LPe (S0 000
Tt bR WG WhAi )
o oot et frte ot oo [ ke oo ooe ke et e ooot
od =g = g ==SN TP T T T T
N D P= S0L0D0JOT T o 0 Pe 50
HS e & 5 r 0 s [T TR [TXTB
o G oD o OS a0e e e D =0 T LR
FATATAT TTTTITPO TP
CO QIO LQDITIM
OO0 JT AP QO - S L0000 =J T N
T = T R D R TR e Tk e e Qg 1% TR T
YHD WAN|YHD WAN|YHD WAN|YHD WAN|YHD WAN|YHD HWAN|[YHD WAN|YHD KWAN
Al s DETAT | ATMAAO] A
NUM CHR|NUM CHR [NUM CHR|NUM CHR|NUM CHR|NUM CHR|NUM CHR|NUM CHR
00 < UL PZOTD = O T - U
<t =<t et <+ w o <=t =t UILTIUTLILTILT
Tg0Tg S TTg TTg STJ a0a0 )
all et 0e aT B, 3 e ee 0el
COE et O OV e U O P 20T 0 00
1000 17500 et el et el ol ek o gt e vt (0 00J 070 0]
LSOTg SgtSS Sl0 SD OT)
IoZeeTe Cn e O eDIe Tl e
AL ooTO et £T o L O e 0TY et
P PPP 220200 S0SR QN QO S0 SO0 D0 TN T
roed o]s] e o spree] sy o] e oo e o] e o] o]
NOTE 148 & 160 were blank on early printers,
e S ] —um ey R o2 O
=t U Ol QOS et DJ T g LT Oe 00T
=t =t <t wt = U UL UDUILILTL U
et e e e et e e e e eel e e el
CLEF L Wi20 2 30000 TN Bt& 3
S0 st UM 0T Ge O O U L e
et ek e et e et et e) TOSSO0
gene] opeeeef opeeeef sqreee] reeof o] spoef speee] e e o]y o] peeed peed ]
T OO e 20 2 TR DT Do Tet o 1] I
I O L L e D0 TP D v O O U™
2S00 S OS T PP T
Tt0T L= 20T e mesget | o
O S e T00w U O e DO CT 0110
<t UL LTIUUILUD ULDLLoO
L P 0NS eT o 10L0 e 15Tet
el e et e 0 7J TST S OOT
ERRORS BY NUMBER
Hex | Decimal | Message
General Operation Errors
001 001 Insufficient Memory
003 003 Undefined Local Name
005 005 Memory Lost
006 006 Power Lost (28S)
101 257 No Room for UNDO
102 258 Can’t Edit CHR(0)
103 259 Improper User Function
104 260 No Current Equation
105 261 No Room to ENTER
106 262 Syntax Error
11E 286 Invalid PPAR
11F 287 Non-real Result
120 288 Unable to Isolate
121 289 HALT Not Allowed
124 292 UNDO Disabled
125 293 Command Stack Disabled
128 296 Wrong Argument Count
129 297 Circular Reference
12A 298 Directory Not Allowed (28S)
12B 299 Non-Empty Directory (28S)
16
ERRORS BY NUMBER
Hex | Decimal | Message
Stack Operation Errors
201 513 Too Few Arguments
202 514 Bad Argument Type
203 515 Bad Argument Value
204 516 Undefined Name
205 517 LAST Disabled
Real Number Errors
301 769 Positive Underflow
302 770 Negative Underflow
303 771 Overflow
304 772 Undefined Result
305 773 Infinite Result
Array Operation Errors
501 | 1281 Invalid Dimension
Statistics Operation Errors
601 1537 Invalid 2DAT
602 1538 Nonexistent ZDAT
603 1539 Insufficient 2~ Data
604 1540 Invalid 2PAR
Root-finder Errors
AO01 2561 Bad Guess(es)
A02 2562 Constant?
Unit Conversion Errors
BO1 2817 Invalid Unit String
B02 2818 Inconsistent Units
17
ERRORS BY MESSAGE.
Message Hex Decimal
Bad Argument Type 202 514
Bad Argument Value 203 515
Bad Guess(es) A01 2561
Can't Edit CHR(0) 102 258
Circular Reference 129 297
Command Stack Disabled 125 293
Constant? A02 2562
Constant Equation Status
Directory Not Allowed (28S) 12A | 298
Extremum Status
HALT Not Allowed 121 289
Improper User Function 103 259
Inconsistent Units B02 2818
Infinite Result 305 773
Insufficient Memory 001 001
Insufficient =~ Data 603 1539
Interrupted Status
Invalid Dimension 501 1281
Invalid PPAR 11E 286
Invalid Unit String BO1 2817
Invalid ZDAT 601 1537
Invalid 2PAR 604 1540
LAST Disabled 205 517
Low Memory! Status
Memory Lost 005 005
ERRORS BY MESSAGE
Message Hex Decimal
Negative Underflow 302 770
No Current Equation 104 260
Nonexistent ZDAT 602 1538
Non-Empty Directory (28S) 12B 299
Non-real Result 11F 287
No Room for UNDO 101 257
No Room to ENTER 105 261
No Room to Show Stack Status
name Not in Equation Status
Out of Memory
Overflow 303 771
Positive Underflow 301 769
Power Lost (28S) 006 006
Sign Reversal Status
Syntax Error 106 262
Too Few Arguments 201 513
Unable to Isolate 120 288
Undefined Local Name 003 003
Undefined Name 204 516
Undefined Result 304 772
UNDO Disabled 124 292
Using name Status
Wrong Argument Count 128 | 296
Zero lStatus
19
FLAGS
Flag Description Set Clear Default
1-30 User flags Clear
31 LAST arguments mode LAST arguments on LAST arguments off On
32 Printer trace mode Printer trace on Printer trace off Off
33 Auto CR mode Auto CR off Auto CR on On
34 Solution mode Principal value General solution Gen soln
35 Constants mode Symbolic Numerical Symbolic
20
22
COMMAND REFERENCE
Term Description Term Description
flag Real number, 0 (false) or non-zero (true) index Real number specifying an
(xy) Complex number in rectangular form element in a list or array
) Complex number in polar form {dim} List of 1 or 2 array dimensions
#n Binary integer ’name’ Global name or local name
’symb’ Expression, equation, or name treated ’global’ Global name
as an algebraic
EXAMPLE
Name Description Level 2 Level 1 = Level 2 Level 1
SWAP Swaps the objects in levels 1 and 2 Ob_] 1 Ob_l2 Ob] 2 Ob] 1
Name Description In = QOut
ABORT Aborts program execution
ABS Absolute value |z|
N
ACOS Arc cosine acos z
N
ACOSH Inverse hyperbolic cosine acosh z
N
ALOG Antilogarithm 10*
N
AND Logical or binary AND #n1 #Il2 #Il3
ARG Argument z 0
ARRY- Separate array into individual elements [vector] X;... Xy {n}
[matrix] X11..+ Xom {n m}
24
[array] column-norm
COLCT Collects like terms ’Symbl’
’symb,’
COL> Selects statistics matrix columns n; m
COMB Combinations (28S) n m Com
CON Creates a constant matrix {dim} =z [array]
CONJ Complex conjugate [array] [array]
CONVERT Performs a unit conversion x "old" "new"
y l‘newll
PATH Returns a list showing the current path (28S) { HOME dir-names }
PERM Permutations (28S) n m |
PICK Copies nth object into level 1 (excluding n) Objn Objl n obj, ... obj; obj,
Name Description In = Out
PIXEL Turns on a display pixel xy)
PMAX Sets the upper-right plot coordinates (xy)
PMIN Sets the lower-left plot coordinates (xy)
POS Finds a substring in a string or "string;
”"n n
string," n
finds an object in a list {list} obj n
PREDV Predicted value X predicted-value
PRLCD Prints an image of the display
PRMD Prints and displays current modes
PRST Prints the stack
32
#Il1 #1'12
RRB Rotates right by one byte #n1 #I‘lz
RSD Computes a correction to the [array B] [matrix A] [array Z] [array B-AZ]
solution of a system of equations
R-B Real-to-binary conversion n #n
R-C Real-to-complex conversion XYy xy)
R-D Radians-to-degrees conversion X (180/7m)x
R-P Rectangular-to-polar conversion (xy) (r,8)
SAME Tests two objects for equality obj; obj, flag
SCI Sets scientific display format n
Name Description In = Out
SCLX Auto-scales the plot parameters
according to the statistical data
SCONJ Conjugates the contents of a variable ’global’
SDEV Computes standard deviation
Sets a user flag n
SHOW Resolves all references to a name ’symb,’ ’global’ ’symb,’
implicit in an algebraic
SIGN Sign of a number 7 Z
SIN Sine z sin z
35
statistics matrix
TRN Transposes a matrix [matrix,] [matrix; ]
37
“oX
P P By >
Greater-than comparison x>y (flag)
Less-than-or-equal comparison x=y (flag)
oMK
Greater-than-or-equal comparison x=y (flag)
X
Not-equal comparison x¥y (flag)
39
M
Adds two objects Z 7 + 7,
Subtracts two objects 7 7
Multiplies two objects 7 Zq *ZZ
Divides two objects 7 71/7,
Raises a number to a power 7 732
% Percent xy/100
woX
P >
%CH Percent change 100(y—x)/x
%T Percent total 100y/x
MK
THE HP-28 POCKET BOOK
Plot and Solve Example Object Types 10
NOTIHDOONNODBOOOO O
Differentiation Example Operator Precedence 10
Integration Examples Printer Control 11
Unit Examples Column Graphics 11
Unit Prefixes PPAR and ZPAR Parameters 12
Reserved Names >DAT Statistics Matrix 13
Truth Table Character Codes 14
Key Strings Errors by Number 16
System Operations Errors by Message 18
Interactive Plot Mode Flags 20
SYSEVAL Entries Memory Usage 22
HP-28S Menus Command Reference 23
To order additional copies, send $6.95 each plus $1.00 shipping and handling
in U.S. funds (checks payable through a U.S. bank) to:
James Donnelly, 3135 N.W. Ashwood Drive, Corvallis, OR 97330 USA