Sharp PC-1403 Operation Manual page 188

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

182
AND is a numeric function
which
generates
random
numbers.
If the
value
of
the
argument is less than
one but greater
than
or
equal
to zero,
the random number is
less
than one and
greater
than
or equal to zero.
If the argument
is
an integer greater than or
equal to
1,
the
result is
a random
number
greater
than or
equal
to 1 and
less
than or
equal
to
the argument.
If the
argument
is greater than
or
equal to 1 and not an
integer,
the
result
is a
random
number
greater
than
or
equal
to 1 and less than
or equal
to the
smallest
integer
which is larger
than the argument.
(In
this
case,
the generation of the
random number changes
depending
on the
value
of the decimal portion of the
argument.)
1 RND numeric
expression
REC is a numeric
function which
converts
numeric arguments
in polar coordinates
format to rectangular coordinates
format.
The first numeric
argument
indicates
the
distance
and
second numeric argument
indicates the angle which
depends
on whether the COMPUTER is
i
n decimal degree,
radian, or grad mode for angles.
The
values converted,
the
distances from the y-axis
and the
x-axis,
are assigned into
the fixed variables Y
and
Z,
respectively. REC (7,
50) is
(4.499513268, 5.362311102)
in decimal
degrees.
1 REC
(numeric expression, numeric
expression)
RCP is a
numeric function which
returns
the
reciprocal
of
its
numeric
argument.
RCP 5
is
0.2.
1
RCP
numeric expression
POL is a numeric function
which converts numeric arguments
in rectangular coor-
dinates format to polar coordinate
format.
The first
numeric argument indicates
the
distance
from the
y-axis
and the second
numeric
argument
indicates
the distance
from the x-axis.
The val
u
es converted,
the
distance
and
the
angle in the
polar
coordinates,
are
assigned to
the
fixed variables
Y
and Z,
respectively.
The angle converted
depends
on
whether
the COMPUTER is in
decimal
degree,
radian, or
grad
mode for
angles. POL
(3,
4) is (5,
53.13010235)
in
decimal
degrees.
1 POL (numeric
expression,
numeric expression)
Functions
Numeric Functions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents