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 #214 background imageLoading...
Page #214 background image
Chapter
10
I
BASIC
Keywords
LOG
Function
LOG(
number)
Returns the natural logarithm of
number.
Number
must be greater than zero.
LOG
is the inverse
of
the
EXP
function.
BASIC always returns the result as a single precision number.
Examples
PRINT LOG(3.14159)
prints the value
1.144729
Z
=
10 LOG(PS/Pl)
performs the indicated calculation and assigns the value
to
Z.
Sample Program
This program demonstrates the use
of
LOG.
It utilizes a formula
taken from space communications research.
540 INPUT "DISTANCE SIGNAL MUST TRAVEL (MILES)";
D
550 INPUT "SIGNAL FREQUENCY (GIGAHERTZ)".
F
560
L
=
96.58
+
(20
*
LOGCF))
+
(20
LOiCD))
570 PRINT "SIGNAL STRENGTH LOSS
IN
FREE SPACE
IS"
L
"DECIBELS."
212

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