EasyManua.ls Logo

Commodore 16 - Page 58

Commodore 16
84 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...
-
NUMBERS
AND
CALCULATIONS
Advanced
Functions
Your
computer
can
also
calculate
higher-level
mathematical
functions
when
you
type
in
a
BASIC
numeric
function
command
and
the
number
or
variable
to
be
figured
out,
and
press
|
Numeric
function
follow
this
form:
FUNCTION
(X)
where
the
FUNCTION
is
the
specific
command
and
X
is
the
number
or
variable
to
be
calculated.
Here
are
the
BASIC
functions
you
can
use:
ABS
(X)
(absolute
value)
ATN
(X)
(arctangent)
COS(X)
(cosine)
EXP
(X)
(the
mathematical
constant
e
(2.71828183)
raised
to
the
power
of X)
INT
(X)
(integer
of
X,
rounded
down)
LOG(X)
(logarithm)
—To
convert
to
log
base
10,
divide
by
LOG
(10).
RND
(X)
(generate a
random
number)
SGN
(X)
(sign:
positive,
negative
or
zero)
SIN
(X) (sine)
SQR
(X)
(square
root)
TAN(X)
(tangent)
^————
40

Other manuals for Commodore 16

Related product manuals