EasyManua.ls Logo

HP HP-28S - Box Functions; BOXS (Surface of a Box)

HP HP-28S
341 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
Loading...
When
you
key
in
the
program
you
can
omit
all closing
parentheses
and
delimiters that
appear
at
the
very
end
of
the
program;
when
you
press
I ENTER I
the
closing
parentheses
and
delimiters
are
added
for
you.
Example.
The
examples
assume
STD
display
format.
To
select STD
display
format, press STD I ENTER I or
use
the
MODE
menu.
The
most
important
technique
demonstrated
in
this
chapter
is struc-
tured
programming:
small
programs
used
to
build
other
programs.
The
following
programs
are
used
in
other
programs.
BOXS
is
used
in
BOXR.
MULTI is
used
in
EXCO.
PAD
and
PRESERVE
are
used
in BDISP.
~GET
is
used
in
2:X2,
~Y2,
and
~Xy.
SORT
and
LMED
are
used
in MEDIAN.
Box Functions
This section contains two programs:
BOXS
calculates
the
total surface area
of
a box.
BOXR
uses BOXS to calculate
the
ratio
of
surface
to
volume
for a
box.
BOXS
(Surface
of
a Box)
Given
the
height,
width,
and
length
of
a box, calculate
the
total area
of
its six sides.
Arguments
Results
3:
height
3:
2:
width
2:
1 :
length
1 :
area
28:
Programming
Examples
241

Table of Contents

Other manuals for HP HP-28S

Related product manuals