Box Functions; Boxs (Surface Of A Box) - HP -28S Manual

Advanced scientific calculator
Hide thumbs Also See for HP-28S:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents