SIN
ISIN(number)
Function
I
SOUND
Computes the sine of number.
Number
must be
in
radians. To obtain the sine of number when
number
is
in
degrees, use SIN(number * .(1745329). The result is
always single precision.
Examples
PRINT
SIN(7.86)
prints .994385.
Sample Program
660
INPUT
"ANGLE
IN
DEGREES";
A
670
PRINT
"SINE
IS";
SIN
A *
.01745328)
ISOUND lone, duralion
Statement I
Generates a sound with the tone and duration specified.
Tone
is
a digit between 0 and
7.
It
specifies the sound's frequency
level. Zero specifies the lowest frequency level; seven specifies the
highest.
Duration
is
an
integer between 0 and 31.
It
specifies for how long the
sound is to be generated. Zero specifies the shortest duration;
31
the
longest.
This statement can be especially useful
in
educational applications.
For example, you can have the computer respond with a sound if a
2-160