home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Troubleshooting Netware Systems
/
CSTRIAL0196.BIN
/
attach
/
pcc
/
v08n03
/
math.exe
/
PRAXIS.ZIP
/
ROSEN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1987-07-15
|
192b
|
14 lines
#include <math.h>
#include "machine.h"
double rosen(x, n)
double x[];
int n;
{
double f1, f2;
f1 = x[0] - 1.0;
f2 = 10.0*(x[1] - x[0]*x[0]);
return f1*f1 + f2*f2;
}