home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 7
/
07.iso
/
c
/
c025
/
1.ddi
/
SIN.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1985-01-24
|
187 b
|
15 lines
main() /* sin.c -- computes sine of a number with sin() */
{
double x;
double result;
x = 30;
result = sin(x);
printf("%f", result);
/* Correct result: -0.988032 */
}