Mathc initiation/Fichiers h : c37fa
Installer ces fichiers dans votre répertoire de travail.
fa.h |
---|
/* --------------------------------- */
/* save as fa.h */
/* --------------------------------- */
double f(
double x)
{
return(sin(x));
}
char feq[] = "sin(x)";
/* ---------------------------------- */
/* ---------------------------------- */
fb.h |
---|
/* --------------------------------- */
/* save as fb.h */
/* --------------------------------- */
double f(
double x)
{
return(log(x));
}
char feq[] = "log(x)";
/* ---------------------------------- */
/* ---------------------------------- */
fc.h |
---|
/* --------------------------------- */
/* save as fc.h */
/* --------------------------------- */
double f(
double x)
{
return(exp(x));
}
char feq[] = "exp(x)";
/* ---------------------------------- */
/* ---------------------------------- */
fd.h |
---|
/* ---------------------------------- */
/* save as fd.h */
/* ---------------------------------- */
double f(
double x)
{
return((x-2));
}
char feq[] = "x-2";
/* ---------------------------------- */
/* ---------------------------------- */
Déclaration des fonctions f(x) pour les fichier c05a.c, c05b.c, c05c.c, c05d.c.