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 #130 background imageLoading...
Page #130 background image
Chapter
10
I
BASIC Ke.ywords
cos
Function
COS(
num
ber)
Returns the cosine
of
number.
COS
returns the angle (in radians) whose sine is
number.
Number
must be given in radians. If
number
is in degrees, you
can convert it
to
radians by using
COS
(number
*
PI/180),
where
PI
equals
3.141593.
BASIC
always returns the result as a single precision number
unless you specified the
/D
switch when starting up
BASIC.
Examples
PRINT
COS(5.8)
-
COS(85
*
.42)
prints the arithmetic (not trigonometric) difference
of
the
2
cosines.
Y
=
COSCX
.0174533)
stores in
Y
the cosine
of
X,
if
X
is an angle in degrees.
128

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