EasyManua.ls Logo

Sharp MZ-700 - I;O Statements

Sharp MZ-700
109 pages
Print Icon
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...
LN
RND
100 A =
LN
(X)
99
Regarding the value of '9ariable X, gets natural logarithm
IO!!e
X and substitutes for variable A. X must be a positive
value.
110 A =
LOG
(X)/L In order
to
obtain logy X when the logarithm base
is
Y, it
OG(Y)
can be obtained
by
statement number
110
or
statement
120 A =
LN
(X)/LN
number
120.
(Y)
100
A=RND
(1)
110 B=RND
(10)
When there
is
a positive integral number
in
parentheses,
such
as
in statement number
100
or
110,
generates a
random number using values from
0.00000001 to
0.99999999 sequentially each time the RND function is
used. (This has no relationship to the positive integral
number in parentheses.)
200
A=RND
(0)
When there is a 0 or negative integral number in
210 B=RND
(-3)
parentheses, such
as
in statement number
200
or 210,
initialization of random number generation occurs, a
specific number
is
always generated, and the same value
is
substituted for A and for
B.

Other manuals for Sharp MZ-700

Related product manuals