Sommaire
Installer ces fichiers dans votre répertoire de travail.
Les fonctions f
|
fa.h
|
/* --------------------------------- */
/* save as fa.h */
/* --------------------------------- */
double f(
double x,
double y)
{
return( (1/(x*x + y*y + 1)) );
}
/* --------------------------------- */
char feq[] = "1/(x*x + y*y + 1)";
/* --------------------------------- */
/* --------------------------------- */
|
|
fb.h
|
/* --------------------------------- */
/* save as fb.h */
/* --------------------------------- */
double f(
double x,
double y)
{
return(cos(x*y));
}
/* --------------------------------- */
char feq[] = "cos(x*y)";
/* --------------------------------- */
/* --------------------------------- */
|
|
fc.h
|
/* --------------------------------- */
/* save as fc.h */
/* --------------------------------- */
double f(
double x,
double y)
{
return( (cos(x)+cos(y)) );
}
/* --------------------------------- */
char feq[] = "cos(x)+cos(y)";
/* --------------------------------- */
/* --------------------------------- */
|
|