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 #329 background imageLoading...
Page #329 background image
Chapter
10
I
BASIC
Ke.ywords
TAN
Function
TAN(
num
ber)
Returns the tangent
of
number.
Return the angle (in radians) whose arc tangent is
number.
Number
must be in radians. To obtain the tangent
of
number
when it is in degrees, use TAN (number
*
PI/180), where PI
equals 3.141593.
BASIC always returns the result as a single precision number
unless you set the
/D
switch when starting up BASIC.
Example
prints -9.396959.
PRINT TAN(7.96)
Sample Program
This programs asks you
to
input an angle in degrees and re-
turns the tangent in radians.
720 INPUT "ANGLE IN DEGREES". ANGLE
730 T
=
TANCCINGLE
*
.01745324)
740 PRINT "TAN IS" T
327

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