EasyManua.ls Logo

Atari XL - Page 76

Atari XL
262 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...
66 The
Ateri
XL
Handbook
/.
,/
/
/
/
L / R
I
I
I
,
I
\
,
The
angle
A is L/R
radians
LOGARITHMS
Natural
logarithms
are
provided
by
the
function
LOG(number
or variable).
PRINT
LOG
(
10)
displays
t2.30258509'
PRINT
LOG
(
5000)
displays
t8.5171932'
The
antilogs
of
natural
logarithms
are
calculated
by
EXP(N).
Try:
PRINT
EXP(LOG(100»
The
answer
is 100.
The
Atari
actually
prints
99.9999976
-
the
calculation
is
not
quite
accurate.
Logs
can
be
used
to
calculate
roots.
This
program
finds
the
cube
root
of
8.
10
A = 8
20 R
=
LOG(A)/3
30
PRINT
EXP(R)

Related product manuals