EasyManua.ls Logo

HP HP-28S User Manual

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
Page #246 background imageLoading...
Page #246 background image
BOXR (Ratio of
Surface
to
Volume of a Box)
Given
the
height,
width,
and
length
of
a box, calculate
the
ratio
of its
surface to its volume.
Arguments
Results
3:
height
3:
.~.
,
width
2:
'""
.
1 :
length 1 :
area/volume
Techniques:
•
Nested
user
functions. BOXR is a
user
function
whose
defining
ex-
pression uses BOXS in its calculation. In
turn,
BOXR
could
be
used
to
define
other
user
functions.
Recall
that
BOXS
was
defined
using
h,
w,
and
I as local variables,
and
note
below
that
BOXS takes
x,
y,
and
z as
arguments
in
the
definition for BOXR.
It
makes
no
difference if
the
local variables in
the
two definitions
match,
or
if
they
don't
match,
because
each
set
of
local variables is
independent
of
the
other. However, it's essential
that
local variables
be
consistent
within
a single definition.
Program
"*
::<
1;:1
Z
,
80::-(:3
(::<
..
'::I
..
z::O
. / (::<l'::Ilz::O '
[ENTER
[
o BOXR
[STO[
Comments
Begin
the
program.
Create
local variables for height,
width,
and
length. This
program
uses
x,
y,
and
z,
rather
than
h,
w,
and
l.
Begin
the
defining
expression
with
the
user
function
BOXS.
Divide
by
the
volume
of
the
box .
End
the
program.
Put
the
program
on
the
stack.
Store
the
program
as BOXR.
28:
Programming
Examples
245

Table of Contents

Other manuals for HP HP-28S

Question and Answer IconNeed help?

Do you have a question about the HP HP-28S and is the answer not in the manual?

HP HP-28S Specifications

General IconGeneral
BrandHP
ModelHP-28S
CategoryCalculator
LanguageEnglish

Summary

HP-28S Advanced Scientific Calculator Owner's Manual

Part 1: Fundamentals

Introduces basic operations, calculator features, and core concepts.

Getting Started

Covers initial setup, basic operations, and calculator overview.

Doing Arithmetic

Explains methods for performing calculations using stack and expressions.

Part 2: Summary of Calculator Features

Objects

Describes fundamental data types, symbolic operations, and programming elements.

The Command Line

Explains input methods, cursor control, and command entry.

The Stack

Reviews stack concepts and commands for manipulating objects.

Part 3: Programming

Program Structures

Covers conditional logic, loops, and error handling in programs.

Conditional Structures

Explains testing conditions and making decisions within programs.

Definite Loop Structures

Details structures for executing code a specific number of times.

Appendixes & Indexes

Appendix A: Assistance, Batteries, and Service

Provides troubleshooting, battery info, and service details.

Answers to Common Questions

Addresses frequent user queries and common calculator issues.

Appendix B: Notes for HP RPN Calculator Users

Highlights differences for users familiar with RPN calculators.

Appendix D: Menu Map

Lists commands by menu, with descriptions and page references.

Contacting Hewlett-Packard

Related product manuals