HP 11CSolutionsHandbook (1981)
HP 11CSolutionsHandbook (1981)
HP-IIC
SOLUTIONS HANDBOOK
I
r/"~ HEWLETT
~~ PACKARD
HP-IIC
Solutions Handbook
NOTICE
April 1981
Hewlett-Packard Company makes no express or implied
warranty with regard to the keystroke procedures and
program material offered or their merchantability or their
fitness for any particular purpose. The keystroke procedures
and program material are made available solely on an "as is"
basis. and the entire risk as to their quality and performance is
with the user. Should the keystroke procedures or program
material prove defective. the user (and not Hewlett-Packard
Company nor any other party) shall bear the entire cost of all
necessary correction and all incidental or consequential
damages. Hewlett-Packard Company shall not be liable for
any incidental or consequential damages in connection with
or arising out of the furnishing. use. or performance of the
keystroke procedures or program material.
L -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ._. __ .. ____ .. ____ _
00011 -90009
l 2 3
4 Contents
, All the key designations are identical to the way they appear on the
keyboard. The second column, headed DISPLAY, shows the
appearance of the display on the calculator as you key in the
program. The first three numerals on the left is the line number.
This is followed by a dash, then the numeric keycode correspond·
ing to the keystrokes in the KEYSTROKES column. Storage
register contents are shown at the end of the program listing.
5
I
6 A Word About Program Usage ~'ra A Word About Program Usage 7
The user instructions form is your guide to using the program to e.,r a Step 1 requires you to key in the program. If the USER annunciator
solve your own problem. The first column, labeled STEP, gives the
instruction step number. Steps are executed in sequential order
f!,:1 is on, press [I] IUSER I.Then put the HP-llC into program mode
(press []] IPIR I) and key in the program steps as shown on the
except where otherwise noted. The INSTRUCTIONS column gives
instructions and comments concerning the operations to be
f!1:a complete listing. Then put the calculator into run mode ([]] I PIR I)
and proceed with the user instructions.
performed. The INPUT DATA/UNITS column specifies the input el~ Step 2 asks you to set User mode, activating the first five top-row
data to be supplied, and, if applicable, the units of the data. Data keys as subroutine execution keys, turning Lfl into IGSB I~ etc.
input keys consist of 0 through 9 and decimal point (the numeric ela Step 3 asks you to input two of four variables via the user-assigned
keys), IEEX I (enter exponent) and ICHS I (change sign). The
KEYSTROKES column specifies the keys to be pressed after
el~ keys ~ through 11l, activated in step 2.
I
keying in the corresponding input data. The OUTPUT ei~ Step 4 calculates the unknown values and begins to display the
DATA/UNITS column specifies intermediate and final outputs, results with V (voltage). The user then presses IRIS I to view the
and, where applicable, their units. e,~ other variables' values.
el~
The form below is for the same program.
e ~
~I~
e I~I)
e I~~
STEP INSTRUCTIONS
INPUT
DATA/UNITS
KEYSTROKES
OUTPUT
DATA/UNITS
e I'1,11-......
e I~~
.."-I '--
1 Clear User mode. then
.'-,
p. watts [QJ 0
• 1 \\.,
4 Calculate the two unknowns. [II II; volts
.____-_l ,\.' __
I---------------------------------~---------- ---- -- ---.....",-------------- -
.j
~ Mathematics 9
~'
~
.,
~ Equations:
e=Tan-1(YP-Yo) -a
-J ~ Xp -Xo
Mathematics ~
Coordinate Transformations
~ -~
.,
,
This program performs translation, rotation and rescaling of
coordinates from one coordinate system to another. A point in the ~ Yp' =Dsine
original system (x o, yo) becomes the origin of the new system. The
x and Y axes are rotated through an angle a with respect to the where:
original coordinate system. The new coordinate system may also
have a different scale, if desired. A point P having coordinates (xp' ~ Xo, Yo = coordinates ofthe new origin in the old system.
,
Yp) in the original system will have coordinates (xP', Yp') in the new x p ' Yp = coordinates of a point P in the original system.
system. ~
x p', Yp' = coordinates of a point P in the new system.
~ S = scaling factor.
~~
~ , Input data required are the coordinates of the new origin in the
original coordinate system, the rotation angle and the scaling
···
factor (if other than 1).
Points in the original system may be converted to the transformed
y ~ ~ system using key~. Points in the new system may be converted to
the original system using key ffil.
x
/~ Remarks:
'~ • The scale factor need not be input unless it is other than one.
'~ • Be sure the rotation angle is input as a decimal and that the
e ; calculator is set to the proper mode (Le., DEG, RAD, GRAD).
·•••.•
•• • For pure translation, input zero for the rotation angle .
(0,0)/ • For pure rotation, input zeros for (xo, Yo)·
Origin of
Original System
7
(Xo, Yo) -
KEYSTROKES
ITl CLEAR I PRGM I
DISPLAY
000-
KEYSTROKES
IRlsl
DISPLAY
005- 31
Origin of
ITlI LBLI~ 001-42.21.11 ISTOl2 006- 44 2
New System
••
• ~f
ISTOll
ffiIJ
002-
003-
44 1 1
33 ISTOl3
007-
008- 44
1
3
8
••
• 9
ISTolO 004- 44 o iRIs I 009- 31
Mathematics 11
10 Mathematics
INPUT OUTPUT
INSTRUCTIONS KEYSTROKES DATA/UNITS
STEP DATA/UNITS
KEYSTROKES DISPLAY KEYSTROKES DISPLAY
ISTOl3 010- 44 3 IRlsl 028- 31 4 Input the coordinates of the new
[0J Yp
G 023- 30 IRlsl 041- 31
IX~1'1 024- 34 [x~ \'1 042- 34 8 Repeat step 7 for all other points.
Ix~\'1 027- 34
INPUT OUTPUT
STEP INSTRUCTIONS KEYSTROKES Display
OATA/UNITS DATA/UNITS Keystrokes
I Clear User mode. then key in the Set User mode.
program.
[]]I DEG I
ITl0R]4
2 Set User mode. ITJI USER I 7IENTER\
4IcHSIg] 7.0000
3 Set appropriate angular mode.
12 Mathematics Mathematics 13
271Rlsi 1.0000
Let z =x + iy = re iB
91 CHS II ENTER 17 [ID -9.2622 x'
p and let the result in each case have the form u + iv.
IRlsl
51 CHS II ENTER I
17.0649 YP'
4lcHsl[ID -10.6921 Z)/Z2 = ~ e i (8) -82)
x'
p r2
IRlsl
61 ENTER Is [ID
5.4479 YP'
4.5569 x'
p
IRlsl 11.1461 Izl=Jx 2 +y2
2.7IENTERI
YP'
3.61 CHS 1[fJ 11.0401 xp
IRlsl -5.9818 yp
Complex Operations
This program allows for chained calculations involving complex
numbers in rectangular form. The four operations of complex ,(0 + 360k)
arithmetic (+, -, x, --0--) are provided, as well as several of the most zlln = rllne' -;; -n-, k = 0,1, ... , n-1
used functions of a complex variable z (Izl, 1/z, zn, zlln, eZ , Inz, sinz,
Z
cosz, tanz, a and logaz). Functions and operations may be mixed (All n roots will be output, k = 0,1, ... , n-1)
in the course of a calculation to allow evaluation of expressions like
Z where n is an integer, and () is in degrees.
z3 / (Z) + z2), e !Z2, Iz) + z21 + IZ2 - z31, etc., where Z1> Z2, Z3 are complex
numbers ofthe form x + iy.
The logic system for these programs may be thought of as a kind of e' = eX (cos y + isin y), where y is in radians
Reverse Polish Notation (RPN) with a stack whose capacity is two
complex numbers. Let the bottom register of the complex stack be (
and the top register T. These are analogous to the X- and T-registers Inz = Inr + i(), where z # 0 and () is in radians.
in the calculator's own four-register stack. * A complex number Zl is
input to the (-register by the keystrokes Y11 ENTER IX1. Upon input of
a second complex number z2 (I ENTER IY21 ENTER IX2), Zl is moved to T a Z = ezlna , where a > 0 and real
and Z2 is placed in f The previous contents of T are lost.
Functions operate on the (-register, and the result (except for Izl lnz
log z = - - where a >0 and real, z#O
which returns a real number) is left in (. Arithmetic operations a Ina'
involve both the (- and T-registers; the result of the operation is left
in (. sinz = sinxcoshy + icosxsinhy, where x andy are in radians
[]]I RTN I 008- 4332 []]I RTN] 037- 4332 ra 066- 12 ITlILBL]9 095-42.21. 9
0 120- 20 ITlI Hypil cos I 149-42.22.24 wffiJ 178- 4326 Ix~ 1'1 185- 34
wi RTN I 138- 4332 w[ill] 167- 4312 4 Key in '2 (X2 + iY2)· Y2 IENTERI Y2
INPUT OUTPUT
STEP INSTRUCTIONS KEYSTROKES
INPUT OUTPUT DATA/UNITS DATA/UNITS
STEP INSTRUCTIONS KEYSTROKES
OATA/UNITS DATA/UNITS
Repeat the following three steps n
6 Find the imaginary component. I\·~rl V
times. I\~rl
7 Go to step 3 for more arithmetic.
~ u
(Note: to use u + iv in further oper-
I r~11 V
Z2+ Z a
Keystrokes Display
1 I ENTER II ENTER I
21GSBIO 0.0000 u; v = 2.0000 in the Y-
register (u + iv = z2).
m 0.0000 u; v = -0.5000 in the Y-
register (u + iv = z-2).
Keystrokes Display IGSBI1 0.8776 u
Set User mode. IX~l'1 -0.4794 v
m[E!Rl4
1 I ENTER I
21 CHS II ENTER I Z2 Example 4: Evaluate sin (2 + 3i).
31 CHS II ENTER 14 (K] 2.0000 u; v = -2.0000 in y.
register (u + iv = Z2 + Z3)'
m 0.2500 u; v = 0.2500 in Y·register Keystrokes Display
(u + iv = 1/(Z2 + Z3»' 31 ENTER 121 GSB 14 9.1545 u
131 ENTER 123 [g 2.500 u -4.1689 v
IX~l'l 9.0000 v
c[ = hf(x;, y;)
First-Order
c2=hf x+-h y
( I 2' I
+-
2
CI) KEYSTROKES DISPLAY KEYSTROKES DISPLAY
[IJCLEAR IPRGM I 000- [IDQ]4 020- 44 4
I
h
c3=hf ( x+-,y·+-
2 I 2
C2) [IJI lBl I[AJ 001-42.21.11 ffiru2 021- 45 2
2 002- 2 GJ 022- 40
G 003- 10 IRClil 023- 45 1
ISTOIO 004- 44 0 IRCllO 024- 45 0
Second-Order
[HJ 005- 33 GJ 025- 40
ISTOl2 006- 44 2 IGSBIO 026- 32 0
[HJ 007- 33 ISTOIGJ4 027-44.40. 4
ISTOll OOS- 44 1 IENTER I 02S- 36
[IJllBlll 009-42.21. 1 GJ 029- 40
IRCll2 010- 45 2 IRCll2 030- 45 2
where IRClil 011- 46 1 GJ 031- 40
IGSBIO 012- 32 0 IRClll 032- 46 1
ISTOl5 013- 44 6 IRCllO 033- 45 0
h y·+-y'·+-k
h h kl) IRCll2 014- 46 2 IENTERI 034- 36
k2=hf ( x·+- y'.+-
I 2' I 2 I 8 l ' ! 2
GJ 016- 40 GJ 035- 40
IRClil 016- 46 1 ISTOl3 036- 44 3
k3=hf x+-h y·+-y'·+-k
h h k2)
y'.+-
( I 2' I 2 I 8 l " 2 IRCllO 017- 46 0 GJ 037- 40
GJ 01S- 40 IGSBIO 03S- 32 0
IGSBIO 019- 32 0 IRCll5 039- 46 6
Mathematics 25
24 Mathematics
GJ 043- 40 oILBL Illil 055-42.21.12 IRcllO 019- 45 0 [[II lST,1 048- 4336
26 Mathematics Mathematics 27
~ Yi
etc.
REGISTERS R1: Used
Ro: hl2 IR 1 : xi I R2 : Yi R3: Y'i 7 For a new function:
R4: Used I Rs: Used I Rs-H4: Unused Delete the existing function []] [ill] []] [fZB]
[]]~[]]~
[]]~
INPUT OUTPUT
STEP INSTRUCTIONS KEYSTROKES and go to step 2. ~ .. ~ 060-42,21, 0
OATA/UNITS DATA/UNITS
FIRST -ORDER
program. OUTPUT
INPUT
STEP INSTRUCTIDNS KEYSTROKES
2 Key in the function: DATA/UNITS DATA/UNITS
Set Program mode. []][fZB] 060-42,21, 0 1 Clear User mode, then key in the
Set Run mode. []][fZB] Set Run mode. []] [fZB] IGTO I0
3 Set User mode. ml USER I Set Program mode. []][fZB] 087-42,21, 0
Mathematics 29
28 Mathematics
where Xo = Yo = 1. Let h = 0.5. The angular mode must be set to
INPUT OUTPUT radians.
STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS DATA/UNITS
J b (b-a),"", ((b-a
S
f(x)dx=---~Wk f --Xk+--
a+b) G 006- 10 ICHSI 021- 16
a 2 k=1 2 2 ISTOIOS 007- 44 .S IGSBI1 022- 32 1
IRCLI07 008- 45 .7 IRCLI09 023- 45 .9
+f (b-a
-2-(-Xk)+-2-
a+b) ) 0
ISTOI07
009-
010-
40 0
44 .7 01 DSE 1
024-
025- 42
40
5
where Xk and Wk are constants and are stored in registers RI to Rfi 0 011- 0 1RcLi[ill] 026- 4524
asfolows: ISTOIO 012- 44 0 GJ 027- 20
INPUT OUTPUT
KEYSTROKES DISPLAY KEYSTROKES DISPLAY STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS
DATA/UNITS
IGTolO 030- 22 o IACllOS 036- 46 .8 9 For new limits go to step 8.
IACllOS 031- 46 .S Q 037- 20 For a new fix), go to program end,
10 wi RTN Iw[EZ[J
ISTOIQO 032-44.20. o IRClI07 038- 46 .7 set Program mode and delete steps w~
IACllO 033- 45 0 GJ 039- 40 back to "LBL B". [~l·~ 040-42,21,12
WIRTNI 034- 4332 CDI LBLI[ID 040-42.21.12 Go to step 5.
CDI lBll1 036-42.21. 1
Example: Find f
o
'"sin x dx in radians.
REGISTERS RI: k
Ro: J.bf(x)dx R,: w, R2: x, R3: W2
Keystrokes
(!]lscl19
Display
INPUT OUTPUT
Circle Determined by Three Points
STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS DATA/UNITS This program calculates the center (xo, Yo) and radius (r) of the
6 Calculate number in second base. @] circle defined by three non-collinear points.
xa
step 4.
Keystrokes Display
Set User mode.
ITl[flKl2
177700 [Kj8 [ill [QJ 65,472.00 Remarks:
177735 [I] 65,501.00
177777 [I] 65,535.00 • If the determinant of the system is zero, then the three points
are collinear, and the program is not applicable.
Example 2: Convert the following octal numbers (b = 8) into KEYSTROKES DISPLAY KEYSTROKES DISPLAY
hexadecimal (B = 16): 7.200067 X 8 1°,1.513561778 X 8 17 .
ill CLEAR I PRGM I 000- IGSBIO 009- 32 0
illiLBLI~ 001-42,21,11 IRlsl 010- 31
Keystrokes Display
ISTOI1 002- 44 1 illILBLI[£) 011-42,21,13
7.2000671 EEX I
10[KjS [ill ISTola 003- 44 8 5 012- 5
16[g[QJ 1.130000 16 IX~l'1 004- 34 IGSBlo 013- 32 0
1.51356177SI EEX I
ISTOIO 005- 44 0 IRCLI7 014- 45 7
17 [I] 1.302141 25
ITl CLEAR IPREFIX I I RISI 006- 31 IRCLI2 015- 45 2
(hold) 1302141404 1.302141404 X 102e; ill I LBL Irn:J 007-42,21,12 ~ 016- 20
e.g., 13.02141404 X 10 24
or D.2EE4 X 16 12 . 2 008- 2 I RCLI4 017- 45 4
Mathematics 41
40 Mathematics
center []J
G 043- 30 wi CLr I 071- 4336 Xo
Example: Find the equation of the circle that includes the three Angle between vectors:
points (1,1), (3.5, -7.6), (12, 0.8).
Keystrokes Display
Set User mode.
[D[FIK]2 Remarks:
1 I ENTER 1[6] 1.00 • For two-dimensional vectors, simply consider that the k
3.51 ENTER I component does not exist; i.e., input 0 for z's.
7.61 CHS II]] -11.25
121 ENTER 10.8 [IJ -94.10 Det.
[QJ 6.45 Xo KEYSTROKES DISPLAY KEYSTROKES DISPLAY
IR/sl -2.08 Yo
IR/sl 6.26 r ITlCLEAR I PRGM I 000- IRCLI5 021- 45 5
GJ 018- 40 GJ 039- 40
Cross product: iRIs I 019- 31 wi RTN I 040- 4332
I RCLI2 020- 45 2 ITlI LBL I[QJ 041-42.21.14
Mathematics 45
44 Mathematics
R4 : x2 1Rs: Y2 1R6: Z2 R7-HS: Unused * The units of y (RAD, DEG, GRAD) depend on the present calculator setting.
Mathematics 47
46 Mathematics
Example 2: Calculate (VI + V 2) • V3 where VI = (1.10, 3.00, 4.40),
INPUT
KEYSTROKES
OUTPUT V 2 = (1.24, 2.17, 3.03) and V3 = (0.072, 0.231, 0.409).
STEP INSTRUCTIONS DATA/UNITS DATA/UNITS
Keystrokes Display
Set User mode.
[IJ[@2
wi DEGI
21ENTERI51ENTERI
2~ 2.00
31 ENTER II ENTER I
41 CHS II RIS I 3.00
[]J . 5.00 x (Addition).
IRlsl B.OO y
IRis I -2.00 z
[IJ 13.00 VI • V 2 (Dot product).
[Q] -26.00 x (Cross product).
IRlsl 14.00 y
IRlsl -9.00 z
[lJ 67.16 y (Angle between the
vectors in degrees).
Statistics 49
where
1
t=---
1 +rlxl
Statistics
and rand bk are constants stored in registers R3 through Rg as
Normal Distribution follows:
This program evaluates the standard normal density function f(x)
and the normal integral Q(x) for a given x. The standard normal R3 = 0.2316419 = r R6 = 1. 781477937 = b 3
distribution has mean 0 and standard deviation 1.
R4 = 1.330274429 = b 5 R7 = -0.356563782 = b2
Equations:
R5 = -1.821255978 = b4 Rg = 0.31938153 = b I
1 2
f(x) = - - e - x 12
J2; Notethatf(-x) = f(x), Q(-x) = 1 - Q(x).
Reference: Handbook of Mathematical Functions, Abramowitz
Q(x) = -1- J~ e- t 212dt
and Stegun, National Bureau of Standards, 1964.
y'2;" x
GJ 042- 40
Inverse Normal Distribution
REGISTERS R,: Unused This program determines the value of x such that
fIx)
Ro: Unused R,: Ixl R2 : R3: r
Q= -1- foo e- t 2!2dt
R4: b S Rs: b 4 Rs: b 3 Ri b 2
J2; x
Rs: b, Rg-R g: Unused
where Q is given and 0 < Q < 1.
INPUT OUTPUT
STEP INSTRUCTIONS KEYSTROKES The following rational approximation is used:
OATA/UNITS DATA/UNITS
1 Clear User mode. then key in the
program.
optional step).
Keystrokes
Set User mode.
Display
P(x) = J: f(t)dt
ITlmRl4
]
x
2.5155171 STOlo 2.5155
[ L
Co
~(;)'r(~)
0.8028531 STO 11 0.8029 cl 1+ "" xk
0.0103281 STO 12 0.0103 C2 k=1 (,,+2)(,,+4) ... (,,+2k)
1.4327881 STO 13 1.4328 d1
0.1892691 STO 14 0.1893 d2
0.0013081 STO 15 0.0013 d3
0.12 [KJ 1.1751 x The program computes successive partial sums of the above series.
0.95 [KJ -1.6452 x When two consecutive partial sums are equal, the value is used as
the sum of the series.
Chi-Square Distribution Remarks:
This program evaluates the chi-square density • If";;,, 141, overflow will result.
v
--1
v x
--1 - - • If both x and" are large, x 2 may overflow the calculator.
x2 e 2
f(x) = Reference: Handbook of Mathematical Functions, Abramowitz
and Stegun, National Bureau of Standards, 1964.
where x ;;" 0 and" is the degrees of freedom. KEYSTROKES DISPLAY KEYSTROKES DISPLAY
ITl CLEAR 1PRGM I 000- Illi LBL IlID 010-42.21.12
fIx) III 1LBL I(K] 001-42.21.11 /sT012 011- 44 2
2 002- 2 IRcLll 012- 45 1
G 003- 10 1 013- 1
ISTOll 004- 44 1 G 014- 30
1 005- 1 0 015- 14
xr(V;I)(1+~2)
2
I(x, v) = sm 0 [ 1 + -2 cos2 II + ...
-211 + -2 cos II {.
rr rr 3
I(x,v)=J - - - - - - - - - d y
-x VrrV r (;) + -_2_' ~4:':":"'-'-'(v~-_3:.c..) cos'-3 II
1· 3 ... (v -2)
J} if v> 1
II = tan- 1 ( ~) ,lIisinradians.
IRCLI2 055- 45 2
Statistics 63
62 Statistics
where x > 0 and VI and V2 are the degrees of freedom, provided either where
VI or V2 is even.
t= _V-=.2_
fIx) Note: If both v, and V2 are even, the two formulas will
generate identical answers. Using the smaller of v,
and V2
could save computation time.
INPUT OUTPUT
KEYSTROKES DISPLAY KEYSTROKES DISPLAY STEP INSTRUCTIONS KEYSTROKES
OATA/UNITS DATA/UNITS
ISTOl05 042-44.40. 5 IRCLI5 063- 45 5 1 Clear User mode, then key in the
CDI DSE I 043- 42 5 I RCLI4 064- 45 4 program.
IGTOI3 044- 22 3 G 065- 20 2 Set User mode. [Ill USER I
IGTOl2 045- 22 2 []]I RTN I 066- 4332 3 Input V,. v, [KJ v,
CDI LBL 13 046-42.21. 3 CDI LBLIW 067-42.21.15 4 Input 1'2' v2 J]] 1'2
IRCLI2 047- 45 2 IRCLI1 068- 45 1 5 Inputx. x W t
2 048- 2 IRCLI2 069- 45 2 6 Calculate a(x).
0 049- 40 ISTOl1 070- 44 1 If:
Ix~)'1
ISTOl2 050- 44 2 071- 34 6a v, is even. [Q] a(x)
IRCLI7 051- 45 7 ISTOl2 072- 44 2 6b is even.
v2 [IJ a(x)
2 052- 2 1 073- 1 7 For a new case go to step 3.
0 053- 40 IRCLI3 074- 45 3
ISTOl7 054- 44 7 G 075- 30
G 055- 10 ISTOl3 076- 44 3
IRCLI3 056- 45 3 I GSB I[Q] 077- 3214 Example 1: Calculate Q(4.21) where VI = 7 and 1'2 = 6.
G 057- 20 1 078- 1 Keystrokes Display
G 058- 20 Ix~ .. 1 079- 34
Set User mode.
I STO 105 059-44.40. 5 G 080- 30 [D[lli]2
CDI DSE I 060- 42 5 IRIs I 081- 31 7~ 7.00
600 6,00
IGTOI3 061- 22 3 CDI LBL 11 082-42.21. 1 4.21 [f] 0,17
CDI LBL 12 062-42.21. 2 IRCLI4 083- 45 4 [IJ 0.05 Q(4.21)
REGISTERS RI : Unused
1'2 [[lID 1'2
10 Repeat step 9 to review results.
Ro: i R,: Hi R2: ';:Ji x, R3: }Ji x,2
11 For a new case go to step 3.
R4 : Lf,x? R5: 'if;x;4 R6: x, m 4 R7:m2
R8: x2 R9:m3 R.o-R 3: Unused
70 Statistics Statistics 71
9.000
4.2111
1.3899
0.3864
x
m2 TotalSS=
k
L LXl-
ni (ttxY
5.4894
0.2358
m3
m4
")11
i=1 j=1
tni
i=1
2.8417 ")12
8 Calculate LXi}
0 015- 0 1 039- 1 []] 'i.xi}
9 Calculate F. [IJ
ISTolO 016- 44 0 G 040- 30 F
10 Calculate df, .
ISToll 017- 44 1 ISTolOO 041- 44 .0 ~ df,
11 Claculate df2.
IRcllOO 018- 45 .0 G 042- 10 ffi2ill df2
12 For a new case go to step 3.
IR/sl 019- 31 IX~l'l 043- 34
ITJI lBll[£j 020-42.21.13 IRcll8 04.4- 45 8
IRcll2 021- 45 2 I RCll7 045- 45 7 • nj
IRcll9
[]](Z]
022-
023-
45 9
4311
G
ISTolOl
046-
047- 44 .1
30
LXii
/=1
74 Statistics Statistics 75
Example: Find Sumb Sum2, Sum3, F, dfb and df2 for the Spearman's rank correlation coefficient is defined by
following:
n
K 1
1
10
2
a
3
5
4
12 14
5 6
11
6LD?
i=1
r s = 1 - ---;::---
n(n 2 -1)
Treatment 2 6 9 a 13
3 14 13 10 17 16 where n = number of paired observations (Xi, Yi)
Di = rank (Xi) - rank (Yi) = Ri - Si
Keystrokes Display
Set User mode. If the X and Y random variables from which these n pairs of
ITJ0RJ2 observations are derived are independent, then rs has zero mean
~10CE) 1.00 and a variance equal to
aCE) 2.00
1
n-l
11 CE) 6.00
lID 60.00 Sum1 A test for the null hypothesis
6CE) 1.00
Ho: x, yare independent
13CE) 4.00
uses
lID 36.00 Sum2
14CE) 1.00
z =rs y'il=T
-1 ~'s~1
Spearman's Rank Correlation Coefficient 's = 1 indicates complete agreement in order of the
ranks and 's = -1 indicates complete agreement in
Spearman's rank correlation coefficient is a measure of rank the opposite order of the ranks.
correlation under the following circumstances: n individuals are
ranked from 1 to n according to some specific characteristic by 2
observers, and we wish to know if the 2 ran kings are substantially Reference: Nonparametric Statistical Inference, J.D. Gibbons,
in agreement with one another. McGraw· Hill, 1971.
Statistics 77
76 Statistics
~
[I] [ill] 2 1 2 ... k Totals
o
6 I ENTER 17 [[] 1.00 1 x" x'2 ... Xu R,
141 ENTER 111 [[] 2.00 t---
31 ENTER 14 [[] 3.00 2 X2' X22 .. ,
Xu R2
--::-'
1IENTERI2[[] 4.00 3 x3' x32 .. x3k
'
R3
11 I ENTER 18 [[] 5.00
Totals C, C2 .. , Ck T
5 I ENTER I[[] 6.00 Error.
5IENTERI[IJ 5.00 Correction. Equations:
151 ENTER I[[] 6.00
41 ENTER 11 [[] 7.00 k
21 ENTER 19 [[]
91 ENTER 16 [[]
8.00
9.00
RowSumRi= LXij i=1,2(for2Xk)
i=1 i = 1, 2, 3 (for 3 Xk)
10IENTERI[[] 10.00
5IENTERI[[] 11.00 n
81 ENTER 113 [[]
131 ENTER 11 2 [[]
12.00
13.00
Column Sum Cj =
j=1
L xij j= 1, 2, ... , k
n=2 (for 2 X k)
71 ENTER 13 [[] 14.00 n=3 (for 3 X k)
1 21 ENTER 114 [[] 15.00
[QJ n k
0.76
IR/sl 2.85 TotalT= L LXij
i= 1 j= 1
n = 2 (for 2 X k)
n = 3 (for 3 X k)
Contingency Tables Chi-square statistic
Contingency tables can be used to test the null hypothesis that two
variables are independent. n k
~
df = (n -1) (k -1), n = 2 for 2 X k and n = 3 for 3 X k.
1 2 ... k Totals
Contingency coefficient
_X_2_
1
I---
x" x12 ... Xu
--,
R, cc =
T+ x2
~
INPUT OUTPUT
INPUT OUTPUT STEP INSTRUCTIDNS KEYSTROKES
INSTRUCTIONS KEYSTROKES DATA/UNITS DATA/UNITS
STEP DATA/UNITS DATA/UNITS
12 IOptional) To correct erroneousxlh' xlh I ENTER I
1 Clear User mode, then key in the
x 1h' and x3h' x1h I ENTER I
program.
[[] h-l
2 Set User mode. ml USER I x3h
9
3 Xir
2
2
5
3
4
Repeat steps 10-13 for -A-
i= 1,2, .. ,k.
B 3 8 7
10 Input:
Keystrokes Display
Xli IENTERI
Set User mode,
X11 IENTERI
ITl!IiKl4
X3j ~ i IGSBI Ow[g]1 0.0000
11 IOptional) Calculate column sum ci llidJ c
i
21 ENTER 13 [KJ 1,0000
51 ENTER 18 [KJ 2,0000
61 ENTER 19 [KJ 3,0000
IRlsl 15,0000
84 Statistics
Statistics 85
Keystrokes Display Keystrokes Display
61 ENTER 191]] 2.0000 Correction 581 ENTER 1541 ENTER I
IRlsl -15.0000 -C3 68~ 4.0000
41 ENTERI7 ~ 3.0000 ~ 3.3574
~ 0.0221 IRlsl 0.0692
IRlsl 0.0276 [QJ 210.0000
[QJ 11.0000 IRlsl 194.0000
IRlsl 18.0000 IRlsl 293.0000
m 29.0000 m 697.0000
~
1
1
36
2
67
3
49
4
58
2 31 60 49 54
3 58 87 80 68
Keystrokes Display
IGSBIO 0.0000
361 ENTER 131 I ENTER I
58~ 1.0000
671 ENTER 160 I ENTER I
87~ 2.0000
41 ENTER 1491 ENTER I
80~ 3.0000
IRlsl 133.0000 -C3
41 ENTER 1491 ENTER I
801]] 2.0000
IRlsl -133.0000 -C 3
491 ENTER II ENTER I
80~ 3.0000
Electrical Engineering 87
INPUT OUTPUT
Ohm's Law
STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS DATA/UNITS This program provides interchangeable solutions for the Ohm's
1 Clear User mode, then key in the Law relations. Specifically, one may solve for:
program. • Resistance and power dissipation given voltage and current.
2 Set User mode. ml USER I • Current and power dissipation given voltage and resistance,
3 Input two known values. Input 0 • Voltage and power dissipation given current and resistance.
f. hertz • Current and resistance given voltage and power dissipation.
if unknown. ~ 0
l, henrys lID 0
• Voltage and resistance given current and power dissipation.
C, farads [g 0
• Voltage and current given resistance and power dissipation.
4 Calculate X and the unknown. [QJ X, ohms
Equations:
[]2m f. hertz
[]2m l, henrys
REGISTERS RI : Unused
KEYSTROKES DISPLAY KEYSTROKES DISPLAY
4330 ITlI lBll3 051-42.21. 3 IR 1 : I I R2 : R R3: P
[]][2]J 022- Ro: V
IGTOI4 041- 22 4 I RCllO 070- 45 0 Example 1: V = 43.2 volts, 1= 0.1 amps; calculate Rand P.
ITlI lBll2 042-42.21. 2 0 071- 20
Keystrokes Display
IRCll2 043- 45 2 ISTOI3 072- 44 3
Set User mode.
[]]Ix~ol 044- 4330 IRCllO 073- 45 0
[]~4
IGTOl3 045- 22 3 IR/sl 074- 31 43.20 0.0000
.1 [[] 0.0000
I RCll3 046- 45 3 I RCll1 075- 45 1
~ 0.0000
I RCli1 047- 45 1 I R/S I 076- 31 [Q] 0.0000
[I] 43.2000 V
[]][Z] 048- 4311 I RCll2 077- 45 2
I
IR/sl 0.1000
G 049- 10 IR/sl 078- 31 IR/sl 432.0000 R
ISTOl2 050- 44 2 IRCll3 079- 45 3 IR/sl 4.3200 P
Electrical Engineering 93
92 Electrical Engineering
1
where Z=- w=2rrf
Example 2: V = 43.2 volts, R = 430 ohms; calculate I and P. Y'
Note that since V is the same in the second example as the first, its
value need not be re-input. The program converts this admittance to an impedance for
display.
Keystrokes Display
000 0.0000 Note: An erroneous entry may be corrected by entering the
430[g 0.0000 negative of the incorrect value.
[ill 0.0000
W 43.2000 V
IR/sl 0.1005 I
IR/sl 430.0000 R KEYSTROKES DISPLAY KEYSTROKES DISPLAY
IR/sl 4.3401 P 0CLEAR I PRGM I 000- IGTOl6 021- 22 6
01 LBL I[A) 001-42,21,11 01 LBLI5 022-42,21, 5
Impedance of a Ladder Network
0CLEAR I REG I 002- 4234 IRcLIO 023- 45 0
This program computes the input impedance of an arbitrary ladder
network. Elements are added one at a time starting from the right. 2 003- 20 024- 20
The first element must be parallel. 0 004- 20 D:ZiJ 025- 15
Suppose we have a network whose input admittance is Yin' Adding 0GJ 005- 4216 ICHsl 026- 16
a shunt R, L or C, the input admittance becomes
0 006- 20 0 027- 0
Yin + (;p + jO )
ISTolO
I]] em 0
007- 44o Ix""' 1'1
008-43, 5, 0 IGTOI9
028-
029- 22
34
9
1]]1 RTN I 4332 01 LBLIW
w~p)
009- 030-42,21,15
Yin + (0- j 01 LBL I[ID 010-42,21,12 I]] [IT) 0 031-43, 6, 0
I]]~O 011-43, 4, 0 IGTOl5 032- 22 5
Yin + (0 + jwCp )
1]]1 RTN I 012- 4332 01 LBLI6 033-42,21, 6
Adding a series R, L or C, we have
01 LBL II£] 013-43,21,13 I RCLIO 034- 45 0
1
( - . +(Rs+jO)
Ym
)-1 11lxl
I]] [IT) 0
014-
015-43, 6, 0 0
15 0 035-
036-
20
0
11lxl 016- 15 IX~l'1 037- 34
(
_1_. +(0+jwLs))-1 0 017- o 01 LBLI9 038-42,21, 9
Ym
IGTOI9 018- 22 9 IRCLI2 039- 45 2
01 LBLI@] 019-42,21,14 IRCLll 040- 45 1
_1 +(O_j_l ))-1
( Y wCs I]] [IT) 0 020-43, 6, 0 I]] [IT) 0 041-43, 6, 0
m
~ Electrical Engineering
:I~
95
94 Electrical Engineering
INPUT OUTPUT
KEYSTROKES DISPLAY KEYSTROKES DISPLAY STEP INSTRUCTIONS KEYSTROKES
OATA/UNITS
·I~
i OATA/UNITS
!
[GSB[O 042- 32 0 [GSB[O 054- 32 0 A series element:
043- 4333 W[Q]O 055-43. 5. 0
·I~ [ID~
.""
w[ff] R, ohms IZml. ohms
ISTOl2
050-
051-
052-
44
44
1
2
ICHSI
34 Jx~J')
m~
062-
063-
064- 4226
16
34 '" ,~~~
.1
Example:
f=4MHz
.I~
REGISTERS R,: Unused
?
.I,~ =:= 2400 P$
Ro: W R,: Re[Yml R2 : Im[Yinl R3-Re Unused
z- =~ 796pF 50n
.I,,~
.
INPUT OUTPUT
STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS DATA/UNITS
I 0
I Clear User mode. then key in the
·I~
program. ~ Keystrokes Display
2 Set User mode. [DI USER I
.I~ Set User mode.
3 Set desired trig. mode.
I []][DEGI
-t-:
~I
[x~l'l 0.9840 iZin, deg.
96 Electrical Engineering Electrical Engineering 97
Smith Chart Conversions These relationships are perhaps more clearly seen in this sketch:
The distance between a point on a Smith Chart and its center may
be measured by a number of parameters. This program allows
conversion between some of the most commonly used parameters:
standing wave ratio. reflection coefficient. and return loss. One
may also convert between impedance and reflection coefficient.
Parameters:
d~
:!~
98 Electrical Engineering Electrical Engineering 99
~
KEYSTROKES DISPLAY KEYSTROKES DISPLAY
CD CLEAR I PRGM I 000- CDILBLI4 029-42.21. 4
ISTOIO 068- 44 0 w~ 066- 4326
:f
CDI LBLI3 001-42.21. 3 ISTOll 030- 44 1
mIl 069- 33 mIl 067- 33
11lxl 002- 16 Wi RTN I 031- 4332
mIl 060- 33 Ix~)'1 068- 34
003-42.21. 1 CDI LBLI[Q) 032-42.21.14
CDILBLll
GJ 061- 40 w[H] 069- 4333
WILOGI 004- 4313 1 033-
!!~ GJ 062- 40 G 070- 10
2 006-
006-
2 IGSBI7
0 IRCLll
034-
036-
32
46
7
::!.~ W~ 063- 4326 mIl 071- 33
;1=
0 1
w[H] 064- 4333 G 072- 30
0 007- 20 ICHSI 036- 16
w[H]
WIRTNI
CDILBLI[f]
008- 4332
009-42.21.13 CDlEl
0 037-
038- 4226
20
;1= .~
IRCLIO 066- 46 0 073- 4333
;t~
2 012- 2 CDILBLIC[] 041-42.21.16 Ro: Used R,: Zo Rz-R 7 Unused
ili
016- 4332 CDI LBLI9 046-42.21. 9 DATA/UNITS KEYSTROKES
Wi RTN I DATA/UNITS
CDI LBLI2 017-42.21. 2 IX~l'l 046- 34 Clear User mode, then key in the
~.~
.
ICHSI 019- 16 IX~l'l 048- 34 Set User mode. [IJIUSERI
CDI LBLI[ID 020-42.21.12 I RISI 049- 31 To convert among u, SWR, p
021- WIRTNI 060- 4332 '-I~ andR.l. :
,~
:l~
Ix~ rI 022- 34 CDILBLI7 061-42.21. 7 .u-SWR u IGSBll SWR
GJ 023- 062-
.
40 I ENTER I 36 .SWR- u SWR 0 u
024- 1 mIl 063- 33
.,~
.u-p u IGSBI2 p
wi LSTxl 026- 4336 mIl 064- 33 .p-u p lID u
-~
:1:
G 026- 30 CDlEl 066- 4226 .p-R.l. p IGSBI3 Hl.
.J;
100 Electrical Engineering
INPUT OUTPUT
STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS DATA/UNITS
5 Convert between Z and I'.
Z-I' 0 tENTERI
Mechanical Engineering
I []] <P Ideal Gas Equation of State
cmJ p Many gases obey the ideal gas laws quite closely at reasonable
I'-Z <P IENTER I
temperatures and pressures. This program calculates anyone of
the four variables when the other three are known.
p [Q] 0
Equation:
IRlsl I
PV=nRT
Example 1: Convert a 6 dB SWR to a. where:
Keystrokes Display P is the absolute pressure.
Set User mode. Vis the volume.
[][fiE]2
6g] n is the number of moles present.
2.00 a
R is the Universal Gas Constant.
Example 2: Convert a 7 dB return loss to SWR. Tis the absolute temperature.
Keystrokes Display
7jTI 0.45 p
Values of the Universal Gas Constant
lID 2.61 a
[GSB!l 8.35 SWR
ValueofR UnitsofR Units of P Units of V Units of T
Example 3: A 50 n system is terminated with an impedance of B.314 N-m/g mole-K N/M2 m 3/g mole K
62 ~ 37°. What is the reflection coefficient? B3.14 cm 3-bar/g mole-K bar cm 3/g mole K
B2.05 cm 3-atm/g mole-K atm cm 3/g mole K
Keystrokes Display 0.OB205 -atm/g mole-K atm Ig mole K
50!GSB!4 0.7302 atm-ft 3/lbm mole-oR atm ft 3/1bm mole oR
50.00
psi-ft 3/lbm mole-oR
37 [ENTER !62 m 70.19 cJ>
10.73
1545 psi-ft 3/lbm mole-oR
psi
psf
ft 3/1bm mole
ft 3/1bm mole
oR
oR
[RIS! 0.35 p
ITJI LBL I[IJ 013-42.21.15 G 042- 10 1 Clear User mode, then key in the
IRlsl 015- 31 ITJI LBLI4 044-42.21. 4 2 Set User mode. [DI USER I
ITJI LBLI5 016-42.21. 5 IGSBI9 045- 32 9 3 Initialize. [D CLEAR I REG I
48 IRCLI3 4 Input R in appropriate units.
0 017- 046- 45 3 R 0 R
Wlx=ol 024- 4340 G] 053- 20 6a If T was the last input. ffiZil Unknown
IGTOI[D 025- 2225 IRCll4 054- 45 4 6b If Twas not the last input. iGSB 15 Unknown
ITJ[ffiQJ 026- 42 6G] 055- 20 7 For the same unknown and different
wi RTN I 028- 4332 ITJI LBLI9 057-42.21. 9 8 For new unknowns, go to step 3.
104 Mechanical Engineering Mechanical Engineering 105
Example 1: 0.63 moles of air are enclosed in 25,000 cm 3 of space at for viscous, incompressible flow in conduits.
1,200 K. What is the pressure in bars? In atmospheres? Equations:
Keystrokes Display
Set User mode.
ITJ[£1RJ4
ITJ CLEAR I REG I
83.14~ 83.1400
25000[fJ 25,000.0000 For laminar flow (Re < 2300)
.63@] 0.6300
12001]] 1200.0000
f= 161Re
IR/sl 2.5142 P, bars
82.05~ 82.0500
For turbulent flow (Re > 2300)
IGSBI5 2.4812 P, atm
-1= D
1.737 In -+2.28 -1.737In (4.67--+
D )1
Example 2: What is the specific volume (ft 3 /Ibm) of a gas at JT E EReJT
atmospheric pressure and a temperature of 513°R? The molecular
weight is 29Ibm/lbm-mole. is solved by N ewton's method.
Keystrokes Display 1 D
- - = 1. 737 In - + 2.28
ITJCLEAR I REG I
.7302~ 0.7302
Ko
1[[] 1.0000 is used as an initial guess in the iteration.
29 ITJI1/xl@] 0.0345
5131]] 513.0000 where:
IR/sl 12.9170 V, ft 3 /lbm Re is the Reynolds number, defined as pDvl J1;
Dis the pipe diameter;
What is its density?
E is the dimension of irregularities in the conduit surface (see
ITJ11/xl 0.0774 p,lbm/ft 3 Table 2);
fis the Fanning friction factor for conduit flow;
What is the density at 1.32 atm and 555°R?
.:1P is the pressure drop along the conduit;
1.32 [[] 1.3200 p is the density of the fluid;
5551]] 555.0000 J1 is the dynamic viscosity of the fluid;
IR/sl 10.5868 V, ft 3 /lbm
ITJI1Ix I 0.0945 p,lbmlft3 v is the kinematic viscosity of the fluid (J11 p);
L is the conduit length;
Conduit Flow v is the average fluid velocity;
This program solves for the average velocity or the pressure drop KTis the total of the applicable fitting coefficients in Table 1.
106 Mechanical Engineering Mechanical Engineering 107
Remarks:
Table 1
Fitting Coefficients • The correlation gives meaningless results in the region 2300 <
Re<4000.
Fitting K • Any consistent set of units may be used.
Globe valve, wide open 7.5 -10 • If the conduit is not circular, an equivalent diameter may be
Angle valve, wide open 3.8 calculated using the following formula:
Gate valve, wide open 0.15 -0.19
Gate valve, 3,4 open 0.85 cross sectional area
Deq = 4 --------
Gate valve, Y2 open 4.4 wetted parameter
Gate valve, v.. open 20
90° elbow 0.4-0.9
Reference: Welty, Wicks, Wilson, Fundamentals of Momentum,
Standard 45° elbow
Heat and Mass Transfer, John Wiley and Sons, Inc., 1969.
0.35 -0.42
Tee, through side outlet 1.5
Tee, straight through 0.4 KEYSTROKES DISPLAY KEYSTROKES DISPLAY
180° bend 1.6 000- IRClla 019- 45
[D CLEAR I PRGM I 8
Entrance to circular pipe 0.25 -0.50
Sudden expansion (1 -Au/Adn)2* [DllBll[ID 001-42,21,12 0 020- 20
Acceleration from v = 0 to v = Ventranee 1.0 I]]ffiIJO 002-43, 4, 0 2 021- 2
Wood Stave 6.0 X 10-4 to 1.8 X 10-4 to IGTOl3 012- 22 3 IRCll6 031- 45 6
3.0 X 10-3 9.1 X 10-4
1]]1 RTN I 013- 4332 IRCll4 032- 45 4
Concrete 1.0 X 10-3 to 3.0Xl0-4 to
[DllBll9 014-42,21. 9 0 033- 20
1.0 X 10-2 3.0X 10-3
IRCll4 015- 45 4 IRCllO 034- 45 0
Riveted Steel 3.0 X 10-3 to 9.1 X 10-4 to
3.0 X 10-2 9.1 X 10-3 IRCll2 016- 45 2 G 035- 10
0 061- 48 1 080- 1
6 062- 6 G 081- 30
7 063- 7 G 082- 10
083-44.40. 9 REGISTERS RI:Re
IRCll4 064- 46 4 ISTOl09
084- 46 9 Ro: v R,: p R2 : € R3: 2L
0 066- 20 IRCll9
086- 10 R4 : 0 R5: KTI2 R6: V lnput Ri ..lP,nput
IRCll2 066- 46 2 G
086- 4316 Ra: 1.737 R9: 1 / $ Ro: 1/00 R,: veale
G 067- 10 []]IABSI
IRCl \OJ 068- 4626 IEEXI 087- 26
G 069- 10 3 088- 3
IRCl\9 060- 46 9 [f@l 089- 16
or
Dynamic viscosity 11 !ENTER I
Keystrokes Display
P OISTOID
Set User mode.
Density p ISTOll [Ill ENG 12
Surface irregularity t ISTOI2 9.31 EEX II CHS I
71sTOI0 930. -09
Twice conduit length 2l !sT013
I EEX 131 STO 11 1.00 03
Equivalent passage diameter 0 ISTOI4 31EExilcHS 141sTO 12 300. -06
Half the total fitting coefficient Kr l2 60 I ENTER 12 01 STO 13 120. 00
ISTOI5
2.541 EEX II CHS I
Fluid velocity v ISTOIB 21sTol4 25.4 -03
or pressure drop ::;p ISTOl7 161 ENTER 12 81 STO 15 8.00 00
3.051sTo16 3.05 00
And a constant. 1.737 iSTOI8
1.7371sTo18 1.74 00
4 Calculate either ::;P [6] ::;P 0 522. 03 .':.P,N/m 2
I RCL 1m 83.3 03 Re
or v. lID v
I RCL 19 [IlCIZiJW[ZJ 10.2 -03 f
5 Calculate fle. ffiITlITl fle
B Calculate f. ffiITl9
ITlo:z;J
[]:::lea f
M xl-
- P( Q-Q a )x * (moment due to point load)
Wx
M
x
2 = - --[x
2
-Q] (moment due to
distributed load)
Y3 = -:~ [c 2
Q- x6 - ~ - c; T (deflection due to
applied moment)
where:
Y is the deflection at a distance x from the left support;
() = ()I + ()2 + ()3 (total slope) () is the slope (change in Y per change in x) at x;
Mx is the moment at x;
() = P(Q-a) [3x2+(Q-a)2-Q2]* (slope due to point load)
I 6E!Q Vis the shear at x;
! is the moment of inertia of the beam;
() =-~[Q')+x2(4x-6Q)] (slopedueto Eis the modulus of elasticity of the beam;
2 24E! distributed load)
Qis the length of the beam;
()3
Q
= -EM! [c - x22Q - 3 - c
2
2Q
J t (slope due to
applied moment)
P is a concentrated load;
Wis the uniformly distributed load with dimensions of force
per unit length;
* Ifx is greater than a, (Q-a) is replaced by -a andx is replaced by(x -Q). * If x is greater than a, (Q- a) is replaced by --a and x is replaced by (x _Q).
SHEAR V to. +
IRCll5 032- 45 5 G 061- 10
[]][ZJ 033- 4311 GJ 062- 40
+
G•
EXTERNAL FORCE OR LOAD Por W
IGssI3 034- 32 3 IRCllED 063- 4525
EXTERNAL MOMENT M +
IRCllED 035- 4525 B 064- 30
[]][ZJ 036- 4311 Q 065- 20
KEYSTROKES DISPLAY KEYSTROKES DISPLAY GJ 037- 40 I RCll1 066- 45 1
ITJ CLEAR I PRGM I 000- []]emO 009-43. 6. 0 IRCll1 038- 45 1 GJ 067- 20
ITJI LBL I[6) 001 -42.21.11 Q 010- 20 []][ZJ 039- 4311 IRCll6 068- 45 6
ISTOl4 002- 44 4 IRClll 011- 45 1 B 040- 30 GJ 069- 40
IRClll 003- 45 1 2 012- 2 Q 041- 20 IRCllO 070- 45 0
3 004- 3 Q 013- 20 6 042- 6 G 071- 10
[2J 005- 14 IGssI3 014- 32 3 G 043- 10 []]I RTN I 072- 4332
IRCll4 006- 45 4 B 015- 30 IGssl2 044- 32 2 ITJI LBL Irn:J 073-42.21.12
[]]emO 007-43. 6. o IRCll4 016- 45 4 I RCll5 045- 45 5 ISTOI4 074- 44 4
4 008- 4 ! []][ZJ 017- 4311 []][ZJ 046- 4311 2 075- 2
116 Mechanical Engineering ,", .~
Mechanical Engineering 117
,~)
~
KEYSTROKES DISPLAY KEYSTROKES DISPLAY KEYSTROKES DISPLAY KEYSTROKES DISPLAY
076- 10 I RCLI2 105- '~, ~
G 45 2 I RCLI3 134- 45 3 IRCLI5 143- 45 5
.~
IRCLll 077- 45 1 ICHSI 106- 16 C', G 135- 30 G 144- 20
wITIlo 078-43. 6. 0 ISlOl[D 107- 4425 .~,
~ ISTOI[D 136- 4425 W[RTNI 145- 4332
2
wITIlO
G
079-
081-
2 IRCLll
080-43. 6. 0 ISTOIG5
10 [DILBLIO
108- 45
109-44.30. 5
110-42.21. 0
1
",
,7)
.~
~~
ITJI LBLIO
IRlsl
IRCLll
137-43.21. 0 ITJI LBLI3
138-
139- 45
31 wITIlO
1 3
146-42.21. 3
147-43. 6. 0
148- 3
IRCLI4 082- 45 4 IRlsl 111- 31 ~
")""'
G 140- 10 wITIlO 149-43. 6. 0
083- 30 IRCLI[D 112- 4525
G ~ wITIlO 141-43. 6. 0 G 150- 20
IRlsl 084- 31 G 113- 20 WIRTNI 142- 4332
~
G 085- 20 IRCLll 114- 45 1 "~I
e; ,
G 086- 20 G 115- 10 e~ ~
wITIlo 087-43. 6. 0 wITIlO 116-43. 6. 0 REGISTERS RI : Used
.,
091- 120- 4332 ,,~
Q 092- 40 ITJI LBLI2 121-42.21. 2
.~ ~ STEP INSTRUCTIONS
INPUT
DATA/UNITS
KEYSTROKES
OUTPUT
DATA/UNITS
WIRTNI 093- 4332 ISlOIQ6 122-44.40. 6
.~
094-42.21. 1 I RCLI4 I Clear User mode, then key in the
ITJI LBL 11 123- 45 4
ISTOl6 095- 44 6 ISlOI5 124- 44 5 ~! ~ program.
IRCLll
I RCLI2
096-
097-
45 1 I RCLI3
45 2 ISlOl[D
125-
126-
45 3
4425
f;)
.))
•
Ii
2
4
Set User mode.
Initialize.
't ••
G 098- 30 ITJ~ 127- 4220
Moment of inertia I IENTERI
[SlOl[D 099- 4425 IGTOIO 128- 22 0
.) •
)
•.)·L~•,.
131- 30 5 If applicable, store load locationls):
IRCLI2 102- 45 2 G
103- 4220 [STOI5 132- 44 5 Location of point load a ISTOl2
ITJlx>·1
45 1 Location 01 applied moment c ISTOl3
IGTOIO 104- 22 0 IRCLll 133-
Mechanical Engineering 119
118 Mecilarllcal Engineering
Example 1: Find the deflection, slope, internal moment and shear
INSTRUCTIONS
INPUT
KEYSTROKES
OUTPUT at a distance of 24 inches for the beam below. Neglect the weight of
STEP DATA/UNITS DATA/UNITS the beam.
6 Calculate any or all of the follow·
question).
~j..-------72 in 1
6
• Deflection: x []][IT]O ~ E=30X 10 psi
1= 0,92 in4
W [0J
P [0J
M [ill] Y
Example 2: What is the slope of the beam below at x = 38 inches? First solve for the effect of P 2 by itself.
Keystrokes Display
P = 1000lbf
IT] CLEAR I REG I
11- 44in ·l 70 ISToll
50lsTol2
70.00
50.00
00
00
t
OIR/sl 50.00 00
E = 30 X 106 psi Now solve for the effect of the distributed load, PI> and M and add
1= 1.30 in4 to it the effect of P 2 • This is the final answer assuming
superposition is valid.
Keystrokes Display
Keystrokes Display
20lsTol2 20.00 00
IT] CLEAR I REG I 70lsTol3 70.00 00
1.31 ENTER I 1.300 00 3500 35.00 00
30 I EEXI6 GJI STO 10 39.00 06 371R/sl 70.00 00
50 I STO 11 50.00 00 4001R/sl 70.00 00
441sTol2 44.00 00 10000 I CHS II R/S I 21.66 03 in-lbf
38W[000 -88.71 03 10 I EEXI3 GJ 31.66 03 M:J5' in-lbf
251R/sl 44.00 00
10001R/sl 50.00 00 Equations of Motion
OIR/sl 3.327 -03 838 , in/in
This program provides an interchangeable solution between
displacement, final velocity, acceleration, time and initial velocity
for an object that undergoes constant acceleration. Given any three
Example 3: What is the total moment at the center of the beam known parameters the two unknowns will be calculated. The
below? (It is not necessary to know E or I, since these do not show motion must be linear.
up in the moment equations.) Equations:
x=
t(v + vol 1 2
X = vot +-at
2 2
x = vt - "!"at 2 v = Vo +at
2
2a
Mect1anIC(]! En~jlneerln9 123
122 Mechanical EngineE'"ng
exists, it will be found. If two real solutions of the same sign ISTO!l 036- 44 1 G 065- 30
exist, the smallest solution will be found. If no real solutions G 037- 10 !sTOll 066- 44 1
exist, Error 0 will be displayed.
2 038- 2 iGTola 067- 22 8
r,1'~
~-
·~I·~
B 081- 30 []]G]]J 110- 4330 ISTOIO 139- 44 I STO 1m 158- 4425
ISTOl2 082- 44 2 IGTol7 111- 22 7 IGTOI8 140- 22 8 []]I RTN I 159- 4332
IGTOl7 083- 22 7 IGSBlw 112- 3215 ~I ~ [IlllBll7 141-42.21. 7 [Ill lBl 14 160-42.21. 4
[Ill lBllO 084-42.21. 0 I RClil 113- 45 1 ·~I ~ IRCll2 142- 45 2 IRCllO 161- 45 0
o G ~I ~ GJ
IRCllO 085- 45 114- 10 I RClil 143- 45 1 162- 20
144- 45 163- 45 3
~~ ;
[]]Ix~ 01 086- 4330 2 115- 2 IRCllQ o IRCll3
GJ
089-
090-
45 3 IGTOl5
20 [IlILBLI6
118- 22
119-42.21. 6
5
.)e; , ~ IRCllO
G
147-
148-
45 OGJ
10 2
166-
167-
20
2
, G
2 091- 2 IRc:L12 120- 45 2 2 149- 2 168- 10
~ ~
GJ 092- 20 []][ZJ 121- 43 11 GJ 150- 20 []]I RTN I 169- 4332
I RCl 1m 093- 4525 I RClil 122- 45 1 ~ ISTOl3 151- 44 3 [Ill LBL Iw 170-42.21.15
[]][ZJ 094- 4311 I RCll3 123- 45 3 e; ~ [IlllBll8 152-42.21. 8 I RCll2 171- 45 2
••
~ 096- 11 2 125- 2 I RCll3 45 I RCl 1m 173- 4525
'~ IRCllO 155- 45 0 []][ZJ 174- 4311
I RClil 097- 45 1 GJ 126- 20
i ENTER I 098- 36 B 127- 30 ; GJ 156- 20 B 175- 30
[]]I ABS I 099- 4316 ~ 128- 11
C ~
.)
G 100- 10 I RClil 129- 45 1
Keystrokes Display
INPUT OUTPUT
STEP INS1RUCTIONS KEYSTROKES
DATA/UNITS DATA/UNITS Set User mode.
1 Clear Usr mode. then key in the [I][£iKJ4
2641sTOI1
program.
35 I ENTER 15280 0
2 Set User mode. [iJ1 USER I 3600 GI STO IOJ 51.3333 vo, ft/sec
41sTOIo
3 Store any 3 of the following:
OlSTOl21sTOI3
Time t ISTOla g]IRCLI3 7.3333 a, ft/sec 2
Displacement x ISTOll 51sTOIO
OlSTOl1 ISTOI2
Final velocity v ISTOI2 g]IRCLI1 348.3333 x(t+l), ft
Acceleration a ISTOI3 264G 84.3333 x(t + 1) - x(t), ft
Initial velocity vo ISTO 1[iJ
4 Clear the 2 unknowns:
If t is unknown a ISTOia Example 2: An airplane's take-off velocity is 125 mph. Assume a
If x is unknown a ISTOll constant acceleration of 15 ft/sec 2 . How much runway length, in
If v is unknown a ISTOI2 feet, will be used from start to take-off? How long will it take for the
plane to reach take-off velocity?
If a is unknown a ISTOI3
If Vo is unknown a ISTO 1[iJ
5 Calculate the unknowns. ~ Keystrokes Display
6 Recall the desired values: 1251 ENTER 15280 0
Time ffiITl a t 3600 GI STO 12 183.3333 v, ft/sec
151 STol3
Displacement ffiITll x o I STO IOJ I STO 11 Vo =0
Final velocity ffiITl2 v ISTOIO g] 12.2222
IRCLI1 1.120.3704 x, ft
Acceleration ffiITl3 a
IRCLlo 12.2222 t, sec
Initial velocity ffiITlOJ Vo
References:
1. Spotts, M_ F., Design of Machine Elements, Prentice-Hall,
Inc., 1971.
2. Baumeister, T., Marks Standard Handbook for Mechanical
Engineers, McGraw-Hill Book Company, 1967.
. - - - - Syp' _ _---l~
FS
I the presence of corrosive media, or for rough surfaces, fatigue
effects may be much more significant than predicted by this
program.
'-------Syp,-------I.~
I RCLI2 0.42- 45 2 IRCLI4 0.71- 45 4 Yield point stress Syp IENTERI Syp
if the minimum load is 2,000 pounds and the area is 0.5 square ~~ .~ LYOiAsi Ixy = L XOi YOi Asi
&~I.~
i=1 i=1
inches?
A
.,~ I .~
Syp = 70,000 psi
Se = 25,000 psi _L..J
f-' (YOi 2 Joy?
-)
.~I ~
Ix - +- Asi
K= 1.25 i=1 12
FS=2.0
&~I ~ f-' ( XOi
Keystrokes Display , I.~ Iy -_ L..J
i=1
2 JoX? )
+12
2000~ 2,000.00 e,\ ~ IY<l> = Iy cos 2 <I> + Ix sin 2 <I> + Ixy sin2 <I>
e: I ;,
.51]] 0.50
lIDlR/sl 8,888.89
e;I:~
Composite Section Properties .,1
.,p I:''~
where:
JoXi is the width of a rectangular element;
The properties of arbitrarily shaped sections can be evaluated
using this program. Exact solutions are obtained when the section
is broken into a finite number of rectangles. Approximate solutions
&"'1 ~ JoYi is the height of a rectangular element;
C;j I';
Asi is the area of an element;
can be achieved by assuming that finite areas are concentrated at
A is the total area of the section;
their centers. .; .~
x is the x coordinate of the centroid;
The program calculates the area of the section, the centroid of the
area, the moments of inertia about any specified set of axes, the 6)) • y is the Y coordinate of the centroid;
polar moment of inertia about the specified axis, the moments of
inertia about an axis translated to the centroid, the moments of ij) 'i XOi is the x coordinate of the centroid of an element;
inertia of the principal axis, the rotation angle between the
translated axis and the principal axis, and the polar moments of i» ~
YOi is the Y coordinate of the centroid of an element;
Ix is the moment of inertia about the x-axis;
inertia about the principal axis. ij) • Iy is the moment of inertia about the y-axis;
Equations:
.)! ~ J is the polar moment of inertia about the origin;
W)
(jJI
•• Ixy is the product of inertia;
Ix is the moment of inertia about the x-axis translated to the
centroid;
A=A sl +As2+As3+···+ A sn
-j -.
-- - - ------------
I
x-coordinate of centroid [!@] x
Moment of inertia about the
11 Calculate:
Moment of inertia about Table of Inputs
ii
140 Mechanical Engineering ;;'~ Mechanical Engineering 141
.,';
IRlsl 11.25 Wi DEG I
IRlsl 31.25
Iy</> .,.~ 1 I ENTER 16 0 1.00 xOl
h:</>
2IENTERI10[]] 20.00 ASl
7IENTERI.50 7.00 x02
Note that Ii'" = Ii and I y", = Iy since <p = O.
141ENTERI1 []] 14.00 As~
.
·I~ IRlsl 6.54 y
IRlsl 5.19 i
y ·'1 ~ ;
IRlsl
IRlsl
2.256.33
3.676.33
Iy
Ix
t
.1 ~
IRlsl 5.932.67 J
0
(J) • /B.5.13.5)
i IRCllO 1.890.25 Ixy
I 11
.I.~
934.49 1-y
15 ~IT IRlsl
IRlsl 1.580.00 Ix
.I.~
rotated, principal axis of example 2.
--L
I
I .I~
-
I
I
CD • (6,1) 2
~ x I
y
t
y
t
+ ·I~
....J1L:: 10 ~I
Section
1
2
Yo;
1
7
xo;
6
0.5
~y
14
2
~x
10
1
61·
I.
·I~ 1
J~" I-.x
I
3 13.5 B.5 1 15
·)L~
·I\~
Chemistry 143
Necessary inputs are C and K, but K may be in any of the following [DILBLI[]] 010-42.21.12 [DI LBLI[QJ 039-42.21.14
forms when solving for either acidic or basic solutions: K a , K b , pKa, ICHSI 011- 16 []]emO 040-43. 5. 0
pKb . C must be expressed in terms of molarity.
CIQJ 012- 13 ISTOll 041- 44 1
When solving for an acid solution, output is in the form of pH, [H+],
[]][TI]O 013-43. 6. 0 0 042- 20
Ka and an error term while for basic solutions the form is pOH,
[OH-], Kb and the error term. Either output may be freely []]I RTN I 014- 4332 IEEXI 043- 26
converted to its alternate form. IGTO I[QJ 015- 2214 1 044- 1
[DILBLI~ 016-42.21.13 4 045- 4
[]]emO 017-43. 4. 0 ICHSI 046- 16
Note: To determine the pH of a salt of a weak acid, it must be
remembered that the salt will hydrate to form the undis- I GSB I[]] 018- 3212 GJ 047- 40
sociated acid and a strong base (OH-) IGSBI[K] 019- 32 11 ISTOl3 048- 44 3
RA + H 20 ~ HA + R+ + OW I GTO I[QJ 020- 2214 []]I Lsrxl 049- 4336
Therefore, since such solutions are basic, the procedure FOR [DILBLlw 021-42.21.15 t RCLll 050- 45 1
BASES should be followed. Similarly, salts of weak bases
produce an acidic solution, so the procedure FOR ACIOS 1 022- 1 0 051- 20
should be used. 4 023- 4 ISTOl4 052- 44 4
Ix~\'1 024- 34 IRCLI3 053- 45 3
el~
IRCll1 058- 45 1 G 078- 30
I Clear User mode, then keV in the
Q 059- 40 G 079- 10
IRCll2 060- 45 2 ISTOla 080- 44 0 e l, 2
program.
IRCll2
0
IRCll4
064-
065-
066-
45
45
20
2 9
G
ITllx>rl
4
084-
085-
086- 4220
9
10 •• , ~
~
5a
FOR ACIDS
Enter Ka
or enter Kb
Ka
Kb
[QJ
~
pH
pH
e ,
5b Find [H+J [H] [H+]
3 069- 3 ISTOIG2 089-44,30, 2 ~
5c Find K. [H]
•
Ka
0 070- 20 IGTOl1 090- 22 1
5d Find the error in [H-j. [H] Error in [H'1
·
IRCll1 071- 45 ITlI Lelia
1 091-42,21, 0
2 072- I RClia
2 092- 45 0 e ~ 6 Find pON, [OH ] and Kb (pH,
[H+] and Ka must be in the X, Y,
0 073- 20 IRCll1 093- 45 1
~
·
and Z registers, respective IV). [H] pH
,~
Q 074- 40 IRCll2 094- 45 2
W pOH
IRCll2 075- 45 2 IENTER I 095- 36
~
_.- [H] [OH ]
0 076- 20 wi lOGI 096- 4313
CI~
[H] Kb
IRCll3 077- 45 3 ICHSI 097- 16
FOR BASES
_I J or enter Ka ~ pOH
-1-·
_1-·
or enter pKb
or enter pK.
[[]
[g
pOH
pOH
R4 : KKw IR 5 -R 4 Unused I
.1 1- ,
.~
146 Chemistry ~~ Chemistry 147
INPUT OUTPUT
C', ~ Example 3: Calculate the pH of 0.002 M KCN whose pKa is 9.32.
STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS
C~
DATA/UNITS
t; ~ Beer's Law
Example 1: Find the pH of 10-4 M acetic acid if its Ka is 1.8 X
10-5 .
e; ~ This is a flexible program for the calculation of the parameters of
the Beer-Lambert law used in colorimetry, A = fbC + I, where I is
e~ ~ the intercept (an error term). Given the light path, b, and a set of
concentrations, C, and percent transmittance, % T, or absorbance,
Keystrokes Display t; ~ A, the program computes the molar absorption coefficient, f, by the
Set User mode.
ITl[IlRJ2
e; ~ least squares method:
-
b n~C2-(~C)2
[BjJ 3.45 -05 [W]
IR .. I
IR .. I
1.80
1.10
-05 Ka
-07 Error in [H+]
5, Initialization ([6]) clears all registers and sets b equal to 1 cm.
~, ~ Either concentration, absorbance or concentration, %T data may
be entered. In the latter case %T is automatically converted to
(i) :'"j absorbance:
Example 2: Find the pH of 3.0 X 10-6 M NH 4Cl if the pKb for
.) -,,
ammonia is 4.75. Note that we are solving for the pH of the
ammonium chloride solution not the pOH of an ammonia solution.
i) f
.- A=2-log%T
Keystrokes Display i)
3 I EEX 161 CHS II ENTER I
4.75~
IR .. I
[BjJ
IR .. I
6.97
1.08
5.62
4.04
pH
-07 [H+]
-10 Ka
-11 Error in [H+]
.)- .
W) f
Ci) f
Note: Unless b is 1 cm a new value must be entered each
time the program is initialized, Initialization also removes
molecular weight from memory. The least squares program
.) If
-~--
IRlsl
003-
004-
1 WIRTNI
31 ITlILBLI[IJ
031- 4332
032-42.21.15
_II ~ Ro: n Rt : LA R2 : LA2 R3: LC
R4 : LC 2
ISTOI6 005- 44 6 WILOGI 033- 4313 tIl' Rs-R. g : Unused
R5: LAC R6: b Ri MW
.~
program.
2 010- 2 ITlILBLI~ 038-42.21.13
I'
.:~ )
2 Set User mode. wi USER I
G
ICHSI
011-
012-
30 IGSBI5
16 IGTOl6
039-
040-
32 5
22
/I 3 Initialize:
0 1
~I ~
6
om 013- 13 ITlILBLI[[] 041-42.21.14
Input light path b [0J b
W[Rl&] 014- 4332 IGSBI5 042- 32 5 ~I~ Enter molecular weight if using
~I{'}
mg/Q as units MW [0J MW
ITliLBLI3 015-42.21. 3 ITlILBLI[[] 043-42.21.12
4 Inputs:
·I·~
IGSBI5 016- 32 5 IGSBI4 044- 32 4
wIT:] 017- 4349 ITliLBLI6 045-42.21. 6
Either
(j) I ;")
,
or
IEEXI
3
023-
024-
26 I RCLI6
3 G
051-
052-
45 6
10
.) ,1) • percent transmittance %T, IENTERI %T,
and molarity
G 025- 10 IR/sl 053- 31 i) I;) C; III i
or
WIRTNI 026- 4332 0 054- 0
6) .;j
.
•
150 Chemistry
;;!!
'-I~
- ---------------
Chemistry 151
INPUT OUTPUT Example: Calculate the molar absorption coefficient for phos-
·I~
STEP INSTRUCTIONS KEYSTROKES
OATA/UNITS DATA/UNITS phorus as determined by the "ascorbic acid" method at 880 nm.
The molecular weight of phosphorus is 31. The light path is 1.2 cm.
·I~
5 Repeat step 4 for each i (being
e '~,
1.00
·· ,
7 Calculation: 9,0 1.25
7a Absorbance coefficient If
··· ,
input in step 4 IGSB 11 t
Set User mode.
~
m[ERJ4
Otherwise CB2§] t
~ 1.0000
7b Intercept CB2§] II 1,2IRISI 1.2000
311RIsi 31.000
~,
7c Correlation coefficient CB2§] r
97,91 ENTER 10 [QJ 1.0000
8 To repeat t,lI, r IRISI t 581 ENTER 10,25 [QJ 2.0000
:} 37,21 ENTER 105 [QJ 3.0000
··
CB2§] II
23,1 I ENTER 10,75 [QJ
i~
4.0000
CB2§] r
• 14,51 ENTER 11 [QJ 5.0000
~
9 To add further data, go to step 4, 91 ENTER 11 ,25 [QJ 6.0000
IRlsl 21.244.7779
10 For a new case, go to step J
IRlsl 0.0187 II
11 To calculate molarity from mg/II ; IRlsl 0.9998 r
MW
values ISTOI7
• f
12 To calculate A from %T
mg/II
%T
IGSB 14
W
M
A
.)' !
., f
13 To calculate %Tfrom A A IGSBI2 %T
1», -,
tJl'
.,'
ill ~
61'
I
tJl~ Economic Analysis 153
l l l ... l l l Ij ~
IRCLI3
WIABSI
006-
007-
45 3 0
4316 [J
035-
036-
40
10
PMT PMT PMT PMT PMT PMT PMT
This program will calculate the interest rate on a loan with equal e ~ IENTERI 008- 36 1 037- 1
periodic payments. The user must specify the number of periods,
the present value or initial loan amount, and the payment amount.
e , 111x1 009- 15 0 038- 40
The program performs an iterative solution for i using Newton's e , IX~J'I 010-
45
34 IRCLIO
1 Q
039-
040-
45 0
20
method:
e ~ IRCLll
w[ZJ
011-
··
012- 4311 1 041- 1
e , G 013- 10 G 042- 30
~
where G 014- 30 IRCLI2 043- 45 2
+ i)-n I I ~
ISTOl2 015- 44 2 [J 044- 10
•· I'
!(i) = 1 - (1 PV [DILBLIO 016-42.21. 0 [J 045- 10
i PMT
017- 45 3 ISTOl02 046-44.40. 2
.,·
IRCLI3
The initial guess for i is given by WIABSI 018- 4316 WIABSI 047- 4316
;
I 1 ~I I ~
IRCLI2 019- 45 2 IEEXI 048- 26
··• .•-.
io= PMTI _ _ Q 020- 20 6 049- 6
PV n 2 PMT ;, 1 021- 1 ICHSI 050- 16
where IRCLI2 022- 45 2 [Dlx~11 051- 4210
PVis the initial loan amount. 1 023- 1 IGTolO 052- 22 0
PMT is the periodic payment. 0 024- 40 IRCLI2 053- 45 2
••
i is the periodic interest rate expressed as a decimal. IRCLll 025- 45 1 IEEXI 054- 26
n is the number of periods. ICHSI 026- 16 2 055- 2
0 027- 14 Q 056- 20
•
· 9
Note: Cash received is represented by a positive value (+). 44 0
ISTOIO 028-
Cash paid out is represented by a negative value (-).
152 ·L~
..
154 Economic Analysis ~, ~ Economic Analysis 155
~, ~ Discounted Cash Flow Analysis
REGISTERS RI : Unused
Ro: (1 + ij-n IR( n IR i
~~ '~ Assuming a minimum desired yield (cost of capital, discount rate),
2: R3: PV/PMT
R4-R9: Unused I I ..,.", .~
this program finds the present value of the future cash flows
generated by the investment and subtracts the initial investment
,~ ~ from this amount. If the final net present value is a positive value,
the investment exceeds the profit objectives assumed. If the final
INPUT
,~ ~ net present value is a negative value, then the investment is not
STEP INSTRUCTIONS KEYSTROKES
OUTPUT profitable to the extent of the desired yield. If the net present value
~
DATA/UNITS DATA/UNITS
,~ is zero, the investment meets the profit objectives.
1 Clear User mode, then key in the
The function associated with ~ (#) is designed to accommodate
program.
,,~ ~ those situations where a series of cash flows are equal. You enter
3
2 Set User mode.
PV*
[IJIUSERI
I ENTER I
IENTERI
n
PV
t;
,,
C~ '~
the number of times these equal periodic cash flows occur with ~,
and then the amount only once with @]. If the cash flow occurs
only once, there is no need to enter anything for #.
Zero must be entered for all periods with no cash flow, When a cash
~; flow is an outlay (initial or additional investment, loss, etc,) the
and payment amount. PMT* llil 1(%1
e) value must be entered as a negative number,
1(%1
e~ "
e;I.~
!
~
Cash flows are assumed to occur at the end of the cash flow
periods.
.'
wi LSTr I
.\IJ~
5 For a new case go to step 3.
ml LBL 1[6] 001-42,21,11 015- 4336
ISTOIO 002- 44 0 G 016- 20
Example: You recently obtained a $2500 car loan for 36 months, 0 003- o wi RTN I 017- 4332
If your monthly payment is $86.67, what is the annual percentage
l ;; 004- 44 5 ml LBLm 018-42,21,13
.1.
rate? C ISTOl5
.'..'.'...
2500 IENTER I
86,671 CHS 1[6] 1,25 % Monthly rate,
wi RTN I 009- 4332 1 023- 1
12 GJ 15,01 % Annual rate, ml LBL I[[] 010-42.21,12 I RCLII 024- 45 1
I EEX I 011- 26 ~ 025- 40
2 012- 2 IRCLI2 026- 45 2
* Note: Cash received is represented by a positive value (+) while cash paid out is
10 ISTOI~5
represented by a negative value (-). G 013- 027-44.40, 5
• \-9
I
Gil!'
.' ,
Economic Analysis 157
156 Economic Analysis
'.~
DATA/UNITS DATA/UNITS
[2] 028- 14 1 041- 1
5 Key in cash flow amount(s) then
ISTOl4 029- 44 4 I RCL 11 042- 45 1 &, "
calculate net present value. CF [QJ NPV
IRCLIO 030- 45 0 GJ 043- 40
c 6 (Optional) Display total number of
~
IRCLI4
031-
032-
20 I RCLI5
45 4 [2]
044-
045-
45 5
14 c
c
.~
, cash flows entered so far.
., =
7
1 033- 1 G 046- 10
8 For next case go to step 3.
G 034- 30 1 047- 1
I RCLll
G
I RCLI3
035-
036-
037-
45
45 3
1 ISTOI2
10 [HJ
wi RTN I
048-
049-
050-
44 2
4332
33
•e ,, ~
Example 1: An investor has an opportunity to purchase a piece of
property for $70,000. If the going rate of return on this type of
investment is 13.75%, and the after-tax cash flows are forecast as
~ 038- 20 ITlILBLIC[] 051-42.21.15 e follows, should the investor purchase the property?
e• ,
GJ 039- 40 IRcLI5 052- 45 5 ~
Year Cash Flow ($)
15TOI0 040- 44 0
1 $14,000
2 11,000
« ~ 3 10,000
Ro: NPV
R4: (1 +i)n
IR,:
REGISTERS
IR5: "2.n
/1100
1
IR2: #
R6- R 9: Unused
RI : Unused
R3: CF
•• l' ~ 4
5
6
7
10,000
10.000
9,100
9,000
INPUT OUTPUT
•.)• ~
~ 10
8
9
9,000
4.500
71,000
.) -.
STEP INSTRUCTIONS KEYSTROKES
OATA/UNITS DATA/UNITS (property sold in 10th year)
~
1
3
Clear User mode. then key in the
program.
Input
~ INV
. )
.).) •.-.
Keystrokes
Set User mode .
mffiRl2
70000 I CHS 1[6]
13.75 []J 14000 [QJ
11000 [QJ
Display
-57.692.31
-49.190.92
NPVafter 1 cash flow.
NPVafter 2 cash flows.
.)•.) -.-.
Periodic interest (discount) rate. i(%) lID i%
3 ©10000[QJ -31.172.57 NPV after 5 cash flows.
4 Key in the number of equal cash 9100[QJ -26.971.76 NPVafter 6 cash flows.
flows if greater than 1. # ~ # 2 ©9000[QJ -20.108.39 NPV after 8 cash flows.
-.
----------------------
Since the final NPV is positive, the investment meets the profit Lease:
objectives. 0[K]5[g1310@] 4,391.32
Example 2: The Cooper Company needs a new photocopier and is Leasing has a present value of $4391.32, while purchasing has a
considering leasing the equipment as an alternative to buying. The present value of $4250.71. Since these are both expense items, the
end-of-the-year net cash cost of each option is: lowest present value is the most desirable. So, in this case,
purchasing is the least costly alternative.
Purchase
Amortization Schedules
Year Net Cash Cost
1 $ 533
2 948
3 1.375
4 1.815
5 2,270
Total Net Cash Cost $6.941
Lease
Year Net Cash Cost
1 $1.310
2 1,310 ~_ _ _ _ _ _ _---lI Payment
3 1.310 Number
4 1,310 PaymentJ, Payment K, End
5 1,310 Beginning of of Time Frame
Time Frame
Total Net Cash Cost $6,550
Interest
Looking at total cost, leasing appears to be less. But purchasing Paid
Payments
costs less the first two years. Mr. Cooper knows that he can make a J-K Inclusive
15% return on every dollar he puts in the business; the sooner he
can reinvest money, the sooner he earns 15%. Therefore, he decides This program finds both the total interest paid over a specified
to consider the timing of the costs, discounting the cash flows at number of payment periods and the remaining balance at the end
15% to find the present value of the alternatives. Which option of the last specified period given the periodic interest rate, periodic
should he choose? payment amount (PMT), loan amount (PV), and the beginning
160 Economic AnalysIs
and ending payment numbers for the time span being considered.
•• ,
~J.,-
Equations:
Economic Analysis 161
The payments associated with both the beginning (J) and the ~
•• , +i)~K_l
ending (K) payment periods are included in the calculation. BALK = 1 [PV -PMT (1 ]
~ (1 +i)-K 1
The program can be used for loans with a balloon payment as well
as loans arranged to be fully amortized provided two cautions are
observed. First, the balloon payment of the loan must be at the
same time as, and in addition to, the last payment. Second, care
should be taken not to enter a value for K that is after the last
payment since the program has no way of knowing the term of the
•• , .~
loan.
The data generated is valid for loans that have a balloon payment,
•• ,, ~
where:
•e ,
as well as those that are arranged to be fully amortized. For loans kth payment to principal = BALK - BAL K-I
with a balloon payment, the remaining balance of the last kth payment to interest =PMT+(BAL K _ 1 - BALK)
payment period is the balloon payment due in addition to the last Total payment to interest = (K) X (PMT) + (PV - BALK)
periodic payment.
For loans scheduled to be fully amortized, the remaining balance e , -~ KEYSTROKES DISPLAY KEYSTROKES DISPLAY
after the last payment period may be slightly more or less than
e , [IlCLEAR IPRGM I 000- ISTOI3 016- 44 3
c ,
zero. This is because the program assumes that all payments are [Ill LBL 11Kl 001-42,21,11 IRlsl 017- 31
equal to the value entered for PMT. In fact for most loans, the last
..,.,
payment is slightly more or less than the rest. IRcLla 002- 45 0 [IlILBLllID 018-42,21,12
.)
The calculator performs all internal calculations to ten digits. If IRlsl 006- 31 IGTOIO 022- 22 0
the user wishes to round the schedule to dollars and cents, the ~
IEExl 007- 26 ISTOIO 023- 44 0
following sequence may be used:
-i 2 008- 2 [H] 024- 33
1.
2.
Press IGTO 10 108
Set Program mode: 001 P/R I
.).) ••
t) G
ISTOI'
wi LSTxl
009-
010-
10 ISTol7
44 1 [Ill LBL 10
,
025- 44 7
026-42,21, 0
.•
3. PresswlRNDI 011- 4336 027- 1
4. Return to Run mode: 001 P/R I ~ 012- 20 IRCLI' 028- 45 1
t) IRlsl
-.-.
013- 31 GJ 029- 40
Note: Cash received is represented by a positive value (+).
Cash paid out is represented by a negative value (-). The loan
amount (PV) and the payment (PMT) must have opposite
signs. .
j)
tJ ~.
ISTol2
IRlsl
014-
015-
44 2 ISTol8
31 IRCLIO
030-
031-
44 8
45 0
162 Economic Analysis
DISPLAY
·I~
IGSBll 032- 32 1 IGSBll 061- 32
KEYSTROKES DISPLAY
1
JRCll7 090- 45 7 IRClll
033- 44 4 ISTOI4 062- 44 4 100- 45 1
·I·~
ISTOl4
ITlI<ll 091- 4210 G
IRClla 034- 45 8 I RClia 063- 45 a 101- 10
·r~
IGTOI~ 092- 2213 IRCll2
I RCll7 035- 45 7 I RCll7 064- 45 7 102- 45 2
-,-,
1]]1 RTN I 093-
·r~
4332 GJ 103-
1 036- 1 1 065- 1 20
ITlI lBl 11 094-42.21. 1 IRCll3 104-
~
G 037- 30 G 066- 30 45 3
ICHSI 095- 16 !x~ rI
IGSBll 038- 32 1 IGSBI1 067- 32 1 105- 34
[2]
;
·· ,,
096- 14 G 106-
IRCll4 039- 45 4 IRCll4 068- 45 4 30
~
ISTOI5
G
ISTOl6
040-
041- 44
30 G
6 ISTOI6
069-
070- 44
30
6
-I 1
097-
098-
44 5
1
I RCll5
G
107-
108-
45 5
10
··· ,
G 099- 30
I RCllO 042- 45 0 I RCll2 071- 45 2
I RCll7 043- 45 7 GJ 072- 40 REGISTERS
~
R1: Unused
G 044- 30 IRlsl 073- 31 Ro: K R,: ill 00 R2 : PMT R3: PV
1 045- 1 I RCll6 074- 45 6 R4 : Used R5: Used R6: Used Ri J
.~
GJ 046- 40 ICHSI 075- 16 Ra: 1 +1/100 Rg -R 2 : Unused
I RCll2 047- 45 2 IRlsl 076- 31
0 048- 20 IRCll4 077- 45 4 • r~ STEP INSTRUCTIONS INPUT
DATA/UNITS KEYSTROKES OUTPUT
J~
DATA/UNITS
049- 40 IRlsl
·••
GJ 078- 31 • 1 Clear User mode. then key in the
I RIS I 050- 31 I RCll7 079- 45 7 .~ program.
I RCll4 051- 45 4 IRCll2 080- 45 2 2 Set User mode.
wi USER I
··.,!
IRlsl 052- 31 GJ 081- 20 ; 3 Input
ITlllBll~ 053-42.21.13 IRCll3 082- 45 3 Starting period number. J ~ J
~
!RClI7 054- 45 7 I RCll4 083- 45 4 Ending period number. K ~ K
~
I RIS I 055- 31 G 084- 30 If i, PM!, and PV have been
.,!
1 056- 1 GJ 085- 40 previously entered. go to step 4.
I RCll1 057- 45 1 IRlsl 086- 31 Otherwise input:
6,-
1-
GJ 058- 40 1 087- 1 Periodic interest rate il%) [BZ§J il%)
ISTOla 059- 44 8 ISTOIGJ7 088-44.40. 7 Periodic payment amount PMT [BZ§J PMT
· -"
I RCll7 060 45 7 IRCllO 089- 45 0
61! Initial loan amount PV [BZ§J PV
f?r:'
--- ------ ------
"I~
STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS DATA/UNITS 1 ~3~16IENTERI
12GIRIsi 1.33 Periodic interest rate.
·l~
4 Computation
1075,811cHs11RISI
4a Compute the total interest paid
"r~
80000 IRIS 100 -3.199,63 Interest paid in 1981.
.,.J
between periods) and K inclusive
IRlsl 79.972.20 Remaining balance at the
and the remarning balance at end ~ end of 1981.
of pellod K, [ill INT ~ 4~15~00 -12.786.80 Interest paid in 1982.
•
IRis I 79.849.28 Remaining balance at the
~ BAl
~ end of 1982.
OR,
Generate the amortization C ~ Example 2: Generate an amortization schedule for the first two
4b
••
payments of an old $30,000 mortgage having monthly payments of
schedule between payments) ~ $200 at 7% interest. Then jump ahead and generate the data for the
36th payment.
and K inclusive [CJ )
~
Keystrokes Display
4c Output
e ~
1 ~2~7IENTERI
••
Amount paid toward interest for
., IRlsl -175.00
PMTtoPRIN Payment to interest.
for period
I} '~
Remaining balance at end of IRlsl -25.00 Payment to principal.
~~ IRlsl 29.975.00 Remaining balance.
period ~ BAl
.,
IRlsl 2.00 Starting 2nd period.
Index of next period llidJ )+1
~ ~ IRlsl -174.85
. '••.
Payment to interest.
Go to 4c for next period IRlsl -25.15 Payment to principal.
5 For new case go to step 3. IRlsl 29.949.85 Remaining balance.
) IRlsl -349.85 Total interest to date .
Example 1: A mortgage is arranged such that the first payment
is made at the end of October 1981 (Le., October is payment period
'J Now let's skip ahead to the 36th payment period.
1). It is an $80,000 loan at 16% interest, with monthly payments of
$1,075.81. What is the accumulated interest for 1981 (periods 1·3)
and 1982 (periods 4·15), and what would the remaining balance be
tJ
6)
•• 36~~lIl
IRlsl
36.00
-169.36
Starting 36th period.
Payment to interest.
-.
at the end of each year?
IRlsl -30.64 Payment to principal.
Keystrokes
Set User mode,
[]l£IK]2
Display
•·L~
:-
IRlsl
IRlsl
29.001.75
-6.201.75
Remaining balance.
Total interest to date.
iJ '-.
166 Economic Analysis
~,l ,
Depreciation
#:1 , Economic Analysis 167
"'I ~
either a factor or a percentage with equal frequency. Thus,a "1.5
declining-balance factor" and a "150% declining-balance" have the DEPK (last year) =RDVK- 1
same meaning. The number to be keyed in for FACT (the variable
rate) in this program, should be in factor form, that is 1.25, 1.5, 2,
e~1 ~ Straight-Line Schedule
and not 125, 150 or 200. An input of 1 for FACT gives straight-line
values for output. ~~I '
~i ,
DEP = SBV - SAL
K LIFE
This program does not calculate partial-year depreciation. If the f~ ~
life is input as a non-integer (i.e., it has a fractional part), the e' i ,
DEPK(lastyear) = ( SBV-SAL) xF=RDVK- 1
fractional year would be considered to follow the last whole year.
For example, if 2.5 were input for the life, the half-year's
depreciation would be calculated for year 3.
e;: ~ LIFE
Ii) I ~
WEPK = total depreciation for years 1 through K
W = integer portion of LIFE
DEPK = ( LIFE + l-K) x(SBV -SAL) fJ) II -' .
F = decimal portion of LIFE
SOYD
II): •I (i.e., for a LIFE of 12.25 years W = 12 and F = .25).
I -
fI)! ,
KEYSTROKES DISPLAY KEYSTROKES DISPLAY
RDV
K
=[ (W-K+l)X(W-K+2F) ] x(SBV-SAL)
2X(SOYD)
fI) -, ITlCLEAR IPRGM I 000- ITlI LBLI7 003-42.21. 7
eI) -, ITlILBLI~ 001-42.21.11 w[IT]o 004-43. 5. 0
[IT]
KEYSTROKES
ISTOIO
ISTOI1
DISPLAY
006-
007-
008-
44 o
33
44 1 0
1
G
KEYSTROKES DISPLAY
035-
036-
037-
1
30
14
.'ci~~ IRCLI5
IRCLIO
~
KEYSTROKES DISPLAY
064-
065-
066-
45 5 []]IClxl
KEYSTROKES
45 0 []]I RTN I
20 [!]ILBLI[f]
DISPLAY
093-
094-
4335
4332
095-42.21.13
C'~
C'~
[IT] 009- 33 ~ 038- 20 G 067- 30 ISTOIO 096- 44 0
ISTOl2 010- 44 2 IRCl 11 039- 45 1 IRCLI5 068- 45 5 IGlOIO 097- 22 0
C'~
.'.' ~~
[IT] 011- 33 ~ 040- 20 [!]I LBL 13 069-42.21. 3 [!]I lBLI[[] 098-42.21.12
ISTOl3 012- 44 3 1 041- 1 []][ITJO 070-43 6 0 []]lliIl1 099-43. 4. 1
IGSBI2 013- 32 2 IRCll5 042- 45 5 IGTOI9 071- 22 9 IGlOl7 100- 22 7
[]][ITJ 1 014-43. 6. 1 IRCllO 043- 45 0 IRIS I 072- 31 [!]I lBl 14 101-42.21. 4
e I~
e,
IGlOl4 015- 22 4 0 044- 14 I x:':':: 1'1 073- 34 IRCLI3 102- 45 3
l IRlsl 074- 31 []]0HfJ 103- 4344
~
IRIS I 016- 31 G 045- 30
ISTOl4
[!][L[Ll0
017- 44 4 IRCll1
018-42.21. 0 ~
046-
047-
45 1
20 e,e, ' IRCll2 075-
076-
45 2 ISTOl4
40 []]I lST, I
104-
105-
44 4
4336
-,·
GJ
[]][ill0 019-43. 5. 0 IRCll1 048- 45 1 ~ IRlsl 077- 31 IENTERI 106- 36
~
IGSBI2 '020- 32 2 IRCll2 049- 45 2 1 078- 1 [!]I FRAC I 107- 4244
[]][ITJ 1 021-43. 6. 1 G 050- 30 ISTO IGJC 079-44.40. 0 GJ 108- 40
.'/~
IGTOl4 022- 22 4 I r~ 1"1 051- 34 ; IRCllC 080- 45 0 IRCLI4 109- 45 4
IRCll4 023- 45 4 G 052- 30 IRCll3 081- 45 3 1 110- 1
1 024- 1 I r;e \' I 053- 34 .1 ~ [!]~ 082- 4220 GJ 111- 40
[!]~ 025- 4240 IGTOI3 054- 22 3 .j~ IGTOIC 083- 22 0 ~ 112- 20
IGTOI1
IRCll4
IRCll3
G
026-
027-
028-
029-
22 1 [!]I lBLI1
45 4 IRCl 11
45 3 IRCll2
10 G
055-42.21. 1
1056-
057-
058-
45 1
45 2
30
·· -,
.1.
~
[]]I Clx I
[]]I RTN I
[!]I LBl 19
GJ
084-
085-
4335 2
4332 G
086-42.21. 9 ISTOl5
087- 40 1
113-
114-
115-
116-
44 5
2
10
G
ISTOI5
[]]I lShl
I r~ I I
IRCllO
030-
031-
032-
033-
034-
44 5
30 IRCll3
G
4336 ISTOl5
34 IRCll3
45 0 ~
059-
060-
061-
062-
063-
45 3
44 5
45 3
10
20
··••-,-.~,
IRlsl
[]]I cLxl
IRlsl
IRCLI2
IRlsl
088-
089-
090-
091-
092-
45
31 IRCll4
4335 IRCLIC
31
2 GJ
G
31 []]I lST,1
117-
118-
119-
120-
121-
45 4
45 0
30
40
4336
• 1-,
170 Economic Analysis .! :!
,.~
~~ ~ INPUT OUTPUT
KEYSTROKES DISPLAY KEYSTROKES DISPLAY STEP INSTRUCTIONS DATA/UNITS
KEYSTROKES
DATA/UNITS
IRCLI3 122- 45 3 I RCll3 137- 45 3 ~~ ~
Straight-line
[TIIFRACI
2
GJ
123-
124-
125-
4244 1
2 GJ
20 IRclla
138-
139-
140-
1
40
45 0
~~
,.~
."
..'
"
~
Enter
SAL
=
Salvage value SAL
GJ 126- 40 G 141- 30 .." Starting book value SBV IENTERI SBV
Ro: YR
REGISTERS
IR,: SBV IR SAL
R,: Unused
R3: LIFE
,j
e~ '~
~
and RBV,. ~
~
~
RoV,
RBV,
oEP,+l
~J=
2:
5 Press ~. then repeat step 4
R4 : FACT, W IRs: DEP, SOYD I R6: Unused
fj) ;') for the next year.
,j
6 To skip to a desired year
(forward or back) . YR ~
[!lZ§]
oEP,
novK
W) ~ RBVK
.).)
1 Clear User mode, then key in the
program. W) ~ ~ ofPK + 1
e; ','
Set User mode. @; ~ Moving Average
40 IENTER I
In a moving average, a specified number of data points is
30000 I ENTER I
375000 IENTER 11 gj 40.00 Life.
e;" averaged. When there is a new piece of input data, the oldest piece
...,
of data is discarded to make room for the most recent input. This
1 IR/S I(straight line) 8.625.00 Ist-year's depreciation.
e; " replacement scheme makes the moving average a valuable tool in
IR/S I 336.375.00 Remaining depreciable
value.
e; " following trends. The fewer the number of data points, the more
trend-sensitive the average becomes. With a large number of data
IR/S I 366.375.00 Remaining book value. " points, the average behaves more like a regular average,
15 [Ij 8.625.00 15th-year's depreciation. ~ responding slowly to new input data.
.)
IR/S I 215.625.00 Remaining depreciable
value. ~~ This program allows for a moving average span of 1 to 17 units.
I R/S I 245.625.00 Remaining book value. ~ The number of units, n, must be specified before any data input
begins by keying it in and pressing gj. Then the data is input by
1.51sT014 Change to declining-
balance by storing a .) '9 keying in each value, Xk, and pressing 00 in turn. The calculator
will display the current input number, k, until at least n values
factor other than 1.
1 [Ij 14.062.50 Ist-year's depreciation.
-I! have been entered. After the nth value (and for all succeeding
values), the calculator will flash the current input number before
IR/S I 330.937.50 Remaining depreciable
value. ·1 j
halting with the moving average, A VG, in the display.
~
Set User mode. F = Total fixed costs
6[KJ 6.00
-, '
V = Variable costs per unit
125 [ID 1.00 ~ S = Sales price per unit
183 [ID 2.00
207 [ID 3.00 U = Expected sales in units
[g 171.67 Average after month
three. el~ D = Expected sales in dollars
R = Marginal income ratio = (S - V)I S
222 [ID
198 [ID
4.00
5.00 -I ~
240 [ID 6.00
&,
&, : Note: The margin of safety ratio will generally have no
-,-,
195.83 meaning if expected sales are less than sales at the break-
The actual sales for the seventh month totalled 225 units. Calculate ~ even point.
a new moving average.
225 [ID 7.00
212.50
; KEYSTROKES DISPLAY KEYSTROKES DISPLAY
; ITlCLEAR I PRGM I 000- ISTOI5 011- 44 5
Break-Even Analysis
This program solves the following equations for Break-Even Point
e" ~ ITlI LBL I[A]
ISTOll
001-42.21.11 ITlI LBL 14 012-42.21. 4
.) ,
ISTOl4 008- 44 4 G 019-
Mu= 10
.
U IRCLI2 009- 45 2 ISTOls 020- 44 6
(Profit or Loss)u = U (S - V) - F G 010- 10 IRlsl 021- 31
")
.-;1,.!
178 Economic Analysis
I
~r~
Economic Analysis 179
GJ 027- IRlsl
20 043- 31 .-; ,-~ Variable cost per unit V I ENTER I
:' ,~
Sales price per unit S
IRCll1 028- 46 1 IRclla 044- 46 8 " .~ IENTERI
Fixed costs F
G 029- 30 IRcll7 046- 46 7
~I
4 Compute break-even points
IRlsl 030- 31 G 046- 30
in units.
0 BEPu
~/.,
IRclla 031- 45 8 IRClla 047- 46 8
5 Compute break-even point
IRcll6 032- 46 6 G 048- 10
in dollars. I]2KJ BEPD
G 033- 30 IRlsl 049- 31
.'" I'.!
~I,~
6 Enter expected sales in units. U
IRClla 034- 46 8 miLBLI[Q] 060-42.21.14
7 Compute profit u (or loss if
~I"
G 035- 10 ISTOl01 061-44.40. 1
negative) [ID (Profit or loss)u
31 IGTOI4 062- 22 4
~I,~
IRlsl 036- ~.-----,!:
~II ~
8 Enter expected sales in dollars. D
9 Compute profitD (or loss if
-
~
.('f
~
"
"
"
11
in units
in dollars.
(in $) [QJ
I]2KJ
BEPu
BEPD
~:-j
d~
.I~
180 Economic Analysis
Example:
I
The Delux Publishing Company publishes a magazine with
variable costs of $0.40 and a sales price of $0.50. The company has
·I~
-I' Games
···-I'
annual fixed cost of $1,000,000.
Compute the following:
Moon Rocket lander
~
1. Break-even point in (a) units and (b) dollars.
2. (a) Profit or loss and (b) Margin of safety ratio for expected Imagine for a moment the difficulties involved in landing a rocket
sales of 12,500,000 magazines.
~ on the moon with a strictly limited fuel supply. You're coming
down tail-first, free-falling toward a hard rock surface. You'll have
e ~~
3. (a) Profit or loss, and (b) Margin of safety ratio for expected
to ignite your rockets to slow your descent; but if you burn too much
sales of $20,000,000.
too soon, you'll run out of fuel 100 feet up, and then you'll have
4. Sales volume in (a) units, and (b) dollars needed to generate a nothing to look forward to but cold eternal moon rocks coming
profit of $5,000,000. e ~ faster every second. The object, clearly, is to space your burns just
Keystrokes Display
e , right so that you will alight on the moon's surface with no
downward velocity.
Set User mode. e ., The game starts off with the rocket descending at a velocity of 50
feet/second from a height of 500 feet. The velocity and altitude are
[i][lli]2
41 ENTER 1.51 ENTER I
e , shown in a combined display as -50.0500, the altitude appearing to
the right of the decimal point and the velocity to the left with a
IEExI6llij
IRlsl
10,000,000.00
5,000,000.00
BEP u
BEP D e ~ negative sign on the velocity to indicate downward motion. Then
1 25 I EEX 15 [ID
IRlsl
250,000.00
0.20
Profit
Mu
e ; the remaining fuel is displayed, and the rocket fire countdown
begins: "3", "2", "I", "0". Exactly at zero you may key in a fuel
21 EExI7 [C:J
IRlsl
3,000,000.00
0.75
Profit
MD
e -; burn. A zero burn, which is very common, is accomplished by doing
nothing. After a burn the sequence is repeated unless:
51EExI6 [Q] 60,000,000.00 BEP u & ';
IRlsl 30,000,000.00 BEPD 1. You have successfully landed-flashing zeros.
f,j, ' ;
2. You have smashed into the lunar surface-flashing crash
6J1 velocity.
tJ ~ You must take care, however, not to burn more fuel than you have;
tJ ! for if you do, you will free-fall to your doom! The final velocity
shown will be your impact velocity (generally rather high). You
tJ ! have 60 units of fuel initially .
•J '9 Equations:
jJ 'f We don't want to get too specific, because that would spoil the fun
of the game, but rest assured that the program is solidly based on
V f some old friends from Newtonian physics:
jJ -Y 181
c l :!
el~
182 Games Games 183
KEYSTROKES DISPLAY KEYSTROKES DISPLAY
x=xo+vot+-at
2
1 2
I
er~ 2 034- 2 IGTOIO 063- 22 0
CDlpSEI 4231 IRCLI1 064- 45
CI~
035- 1
v = Vo + at 1 036- 1 CDI LBLI7 065-42.21. 7
Cr~ CDlpSEI 037- 4231 CDlpSEI 066- 4231
c,e ,'
Remarks: IRCLI2 041- 45 2 2 070 2
Only integer values for fuel burn are allowed. I RIS I can be used to Ix~ rI 042- 34 0 071 48
stop Moon Rocket Lander at any time. CDG2:1J 043- 4220 5 072 5
e I!
ISTOI[J2 045-44.30. 2 ISTOIGJo 074 44.40. 0
KEYSTROKES DISPLAY KEYSTROKES DISPLAY
2 046- 2 2 075 2
el~
CD CLEAR I PRGM 1 000- 4 017- 4
G 018- 10 GJ 047- 20 GJ 076 20
CDI LBLI[AJ 001-42.21.11
002- 5 I RCLI1 019- 45 1
l 5 048- 5 ISTOIGJ 1 077 44.40. 1
0
5
003- 0 [[]I ABS 1 020- 4316 ee l '~ [J 049- 30 IRCLlo 078 45 0
el~
ISTOl3 050- 44 3 1 079 1
0 004- 0 GJ 021- 40
2 051- 2 0 080 0
~I ~
ISTOIO 005- 44 o IRCLI1 022- 45 1
G 052- 10 GJ 081 20
5 006- 5 [[]I.\>ol 023- 4320
0 007- 0 IGSBI4 024- 32 4 &;1 ; IRCLIO 053- 45 0 I RCLI1 082 45 1
.
IRCLIO 014- 45 0 CDlpSEI 031-
[[][llil] 061- 4344 ICHSI 090 16
CD[£]RJ4 015-42. 7. 4 3 032- 3
[[]Ix>ol 062- 4320 !x~ rI 091 34
IEEXI 016- 26 CDlpSEI 033- 4231
I
REGISTERS RI : Unused
~l'~ Arithmetic Teacher
Ro:x IR T: v I R2: Fuel R3: Accel. "I~ The hand-held calculator, far from threatening the traditional
tenets of a sound mathematics education, may be used creatively to
R4-R5 Unused r I .J'~
.J :~
reinforce learning in such areas as arithmetic, algebra, geometry,
trigonometry, calculus, and numerical analysis. This program,
which is designed to be used in teaching children the four
INPUT OUTPUT
STEP INSTRUCTIONS
DATA/UNITS
KEYSTROKES
DATA/UNITS ~) ~ operations of elementary arithmetic (+, -, x, -c-) demonstrates some
of the (largely unexplored) potential of the HP-l1C as an
1 Clear User mode. then key in the
~J .~ educational tool.
program.
2.
e ~
was wrong, the program restates the original problem to give the
learner a second chance.
1.
e~ "
O. e ~ To run the program, the user must input a value called MAX. This
tells the program not to use any numbers as large as MAX in its
4 Key in burn:
e ~ problems. If you specify a MAX of 12, for example, then all the
Upon "0" display. press
-
enter burn. BURN [0J V.ALT seeds generate different problems, thus ensuring that the learning
game doesn't get boring. The execution of the program will cause
FUEL ~ the first problem to be displayed as follows: the display will show
~ ~
3. one number to the left of the decimal place, and one number to the
2.
right. For example, the numbers 8 and 2 would be displayed as 8.02.
ij) '1 The user may then choose what operation to perform on the two
.., ,,
1. numbers: he may add (8 + 2), subtract (8 - 2), multiply (8 X 2), or
O. eJ) '1 divide (8 -c- 2). After he keys in his answer and re-initiates program
execution, the program will either display a new problem, if his
5 Go to step 4 until you land
answer was right, or display the same two numbers again, but this
.,
6
(flashing zeros) or crash
',i~
0[£]RJ2 002-42, 7, 2 Q 027- 40 program
IRlsl 004- 31 oI LBL I[ID 029-42,21,12 'JI'~ 3 Input upper limit. MAX 0 MAX
'~I'=
< s < 1) s
,,=
I STO II RAN# I 005- 4436 IRCLI2 030- 45 2 4 Input random seed. (0 IRlsl ',. n;
e~I.~
I RCLIO 008- 45 o IGTOll 033- 22 1 • Addition (+) " +n2 L!@]
[]][llil] 010- 4344 IRCLI2 035- 45 2 e~I.~ • Multiplication (X) 'I Xn2 [f]
ISTOl3
01 RAN# I
011-
012-
44 3
4236 ~
45 o IGTOll
IRCLI3 036-
037-
038-
45 3
22
20
1
e" ~
e~I.~
6
• Division (-7-)
If you were right. a new
e~I . ~
IRCLIO 013-
~ 014- 20 oI LBL I[ill 039-42,21,14 go to step 5. '3' n4
[]][llil] 015- 4344 IRCLI2 040- 45 2
e~l~ 7 If you were wrong. the same
e~I.~
016- 44 2 I RCLI3 041- 45 3 problem will be displayed
ISTOl2
-
017- 45 38 042- 10 with a negative sign;
IRCLI3
~)
2 019- 2 01x= II 044- 4240 8 Repeat steps 5·7 as many
Nimb
+ 5) 1.04
ei;'
eJ::~
ITlI lBl IlID
ITlmRlO
ISTOIO
022-42.21 .12 IRCllO
023-42. 7. 0 IRlsl
024- 44 0 1
044-
046-
046-
45 0
31
1
The game of Nimb begins with a collection of N objects, or as the
calculator plays it, with the positive number N. Each player & -~ ITlIlBll4 026-42.21. 4 G 047- 30
ICHSI 026- 16 IRClll 048- 46 1
alternately subtracts one, two, or more from the total until only one
is left. The player forced to take the last one loses.
e;Ji~
IRlsl 027- 31 G 049- 10
To begin the game, you specify the maximum number that can be c'[ } GJ 028- 40 ITlI FRAC I 050- 4244
taken in a single move. Then you tell the calculator how many
objects you wish to start with (i.e., the value of N).
e: , wlx<ol 029- 4310 I RClil 051- 45 1
After each move the machine will display the remaining total. A e: ~ IGTOIO
IRCll3
030-
031-
22
45
0 GJ
3 wlx=ol
052-
053- 4340
20
it will not let you make an error and win. If you cheat by taking e ~ wi lSTxl 034- 4336 ITlI lBll2 056-42.21. 2
more than the specified limit, the calculator will catch you and
force you to repeat the move. e .-; 1
ITllx>rl
035-
036-
1 IRCllO
4220 Wlx~ol
057-
05S-
45
4330
0
This program is based on an HP-25 program by James L. Horn. e :; IGTOl2 037- 22 2 IGTOl4 059- 22 4
KEYSTROKES DISPLAY KEYSTROKES DISPLAY G ~ [HJ 03S- 33 I RCll2 060- 45 2
ITlCLEAR I PRGM I 000- 0 010- 48 c;. ~ IRClll 039- 45 1 ITlmRl 1 061-42. 7. 1
ISTOIO
1
GJ
002-
003-
004-
44 0 ISTOI2
1 5
40 5
012-
013-
014-
44 2
5
6
~ -., @IQ]2 041- 22 2
V
ISTOll
3
006-
006-
44 1 1
3 7
016-
016-
1
7
..,
,--
•
5 007- 6 8 017- S u.- f REGISTERS RI : Unused
Example:
INPUT OUTPUT
STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS DATA/UNITS Starting with 15 objects, with a maximum allowable move of 3,
Clear User mode, then key in the
play Nimb with the HP-llC_
1
program.
Keystrokes Display
2 Set User mode. ml USER I
Indicate the maximum number
Set User mode_
3
3~ 3_
of objects which can
1500 -15_ Ready
4
be removed in one move.
•• 31Rlsi
IRlsl
51Rlsi
12_
-9_
-9_
Player takes 3_
HP-llC takes 3_
Player tries to cheat_
start the game, (usually 15). N lID -N e 21Rlsi
IRlsl
7_
-5_
Player takes 2_
HP-llC takes 2_
5 If the number in the display is
e 3 iRIs I 2_ Player takes 3_
negative, key in your move and
If calculator loses:
If calculator wins:
I LOSE
BLISS
•• •
9 For another game:
·I~
If max. move remains same,
go to step 4.
"1 ~
fJl!
·1-·
For different max. move
go to step 3.
fJl!
"L!
.\~
Surveying 193
HD = Horizontal distance
SD = Slope distance
ZA = Zenith angle
Surveying Rllmarks:
• All angular inputs and outputs are in the form degrees,
Field Angle Traverse minutes and seconds (D.MS).
This program calculates coordinates of a traverse from field angles • This program uses zenith angles to calculate the horizontal
and horizontal or slope distances. The total horizontal distance distance from slope distance. If your instrument measures
traversed and the enclosed area (for a closed traverse) are also vertical angles rather than zenith angles, convert the vertical
calculated. angle to a zenith angle by the following formula:
In running this program, the user inputs the northing and easting zenith angle = 90° - vertical lingle
of his starting point, the reference azimuth, and then the direction
and distance from each point in the traverse to the next point. The (Remember to convert D.MS input to decimal degrees before
direction may be input either as a deflection right or left, or as an subtracting from 90°).
angle right or left. The distance may be input either as horizontal
distance, or as slope distance with zenith angle. KEYSTROKES DISPLAY KEYSTROKES DISPLAY
ITlCLEAR I PRGM I 000- 1 017- 1
~l:~
KEYSTROKES DISPLAY KEYSTROKES DISPLAY INPUT OUTPUT
STEP INSTRUCTIONS KEYSTROKES
DATA/UNITS DATA/UNITS
[STO [GJ3 034-44.40. 3 GJ 046- 20
[ RCl[O 035- 45 0 [STO [GJ4 047-44.40. 4 CI:~ 6a If angle right: AR(O.MS) ffi2]]
fr)l~
IT]~ 037- 4226 [RIS[ 049- 31
6c If deflection right: OR (O.MS) lID
6d If dellection left: Ol (O.MS) [CHS II]]
Cll~
[STO [GJ 1 038-44.40. 1 [ RCl[2 050- 45 2
I\'~\'I 039- 34 [RIS[ 051- 31
7 Input horizontal distance. HO ffi2]] N,
ell~
OR.
[STO [GJ2 041-44.40. 2 IT] [ LBL [ [QJ 053-42.21.14
input zenith angle ZA (O.MS) IENTER [
~II~
2 042- 2 [ RCl[3 054- 45 3
and slope distance. SO [g Nj
8 043- 10 [RIS[ 055- 31
[ RCl[5 044- 45 5 [ RCl[4 056- 45 4 ~II~ ffi2]] Ej
.\II~
8 Repeat steps 6 and 7
8 045- 30 []][ABS[ 057- 4316
for successive courses.
REGISTERS RI : Unused
;I!~ 9 Display total
Ro: AZ I R,: CurrentN I R2 : Current E R3: "il-ID e' I: e> horizontal distance
R4 : Area IRs: 2:.DEP I Rs-R 9 Unused el~ traversed and area for
closed traverse. ~
[[] 2.HO
Area
.,
~
.
program.
Example:
t;; ~
e; ~
100°24'55"
~DL),,,/
~;
e; =
=
,,-
2
,,- .,,
IfIi"
=
'ff" =
","'
/
4
/ ~~
e~
=
=
B . N 150.000
egm E 400.000
e~
,.\=
-' =
IP\
-/ ~
Display
-.'" ~
Keystrokes ,."
Set User mode.
WIDEGI e; ~
150~
e;
=
....=
400IRlsl
311.39551 RIS I
113.34551 RIS I
t;
177.9661 RIS I 224.5150 N2 .J
-- .,.,
IRlsl 561.6150 E2
~
~'o.
Statistics
Electrical Engineering
Mechanical Engineering
Chemistry
Economic Analysis
Games
Surveying
rh~ HEWLETT
~r... PACKARD
00011-90009
Printed in U.S.A.