home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
comp_lan
/
85_febr
/
fortrn.5
< prev
next >
Wrap
Text File
|
1988-07-25
|
384b
|
15 lines
Listing 5
C Instead of FORTRAN?
double cos(); /* use cos() function for calculation */
double y; /* destination for answer */
...
y = bisect(cos,0.0,3.14159,.0001);
/*
bisect cos() function
interval [0.0,3.14159]
zero tolerance .0001
*/