EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 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 #160 background imageLoading...
Page #160 background image
Chapter
10
1
BASIC
Keywords
EXP
Function
EXP(number)
Returns the natural exponent of
number,
that is,
e
(base of natu-
ral logarithms)
to
the power of
number.
Number
must be less than or equal
to
88.02968
This function
is
the inverse of the
LOG
function; therefore,
num-
ber
=
EXP(LOG(number)).
BASIC
always returns the result
as
a single precision number
unless you specified the
/D
switch when starting up
BASIC.
Example
PRINT EXPC-2)
prints the exponential value
.1353353.
Sample Program
31
0 INPUT
"NUMBER"; N
320 PRINT
"E RCIISED TO THE"N"P0WER
IS"
EXPCN)
158

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals