EasyManuals Logo
Home>HP>Calculator>25

HP 25 User Manual

HP 25
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #101 background imageLoading...
Page #101 background image
Programming
97
Program Applications
The
following
two
programs
are
provided
as additional ex-
amples
to
test
your
programming skills.
On
ly the
purpose
of
each
program
is
explained. See if
you
can
figure
out
how
each
program
works
on
your
own
.
Factorial
This
program
calculates
the
factoria
l
of
an input value " n"
[n
(n-l)(n
-
2)
. . . 3 x 2
xl].
(For
the special
case
where
n = 0,
O!
=
1.)
Switch
to
PRGM
mode
PRGM'-RUN
and
press
D
I
PRGM
I before keying in the following list
of
keys.
Keys
Display
EI
[ABSJ
1
01
15
03
D
~
102
14
01
E m
103
23
01
EI
§l
104
15
71
mm
m0
105
13
14
m
1
06
01
D
~
1
07
14
71
mm
m[I]
108
13
16
EiD
109
21
m
1
10
01
B
111
41
D
0m
1
12
23
61
01
mm
@J[I]
It3
13
06
m
1
14
01
mm
@J@J
I 15
13
00
a m
1
16
24
01
Now
switch
back
to
RUN
mode
PRGM
~
RUN
and
press
I
PRGM
I so you
can
try the following
examp
le.
Example.
Calculate
the
number
of
ways
six people
can
line up
for a
photograph
.
Method:
P6
=
6!
Press
Display
6
lMJ
L.:
17
-=
2
:.::.
0
.:..:
.0
c.::
0
___
--.J1
(6
x 5 x 4 x 3 x 2 x
I)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 25 and is the answer not in the manual?

HP 25 Specifications

General IconGeneral
BrandHP
Model25
CategoryCalculator
LanguageEnglish

Related product manuals