Sommaire
Installer ce fichier dans votre répertoire de travail.
Les fonctions f(x)
|
fa.h
|
/* ---------------------------------- */
/* save as fa.h */
/* ---------------------------------- */
double f(
double t)
{
return( t);
}
char feq[] = "t";
/* ---------------------------------- */
double g(
double t)
{
return( t*t);
}
char geq[] = "t**2";
/* ---------------------------------- */
double h(
double t)
{
return( t*t*t);
}
char heq[] = "t**3";
/* ---------------------------------- */
/* ---------------------------------- */
|
|
fb.h
|
/* ---------------------------------- */
/* save as fb.h */
/* ---------------------------------- */
double f(
double t)
{
return( 4*cos(t));
}
char feq[] = "4*cos(t)";
/* ---------------------------------- */
double g(
double t)
{
return( 9*sin(t));
}
char geq[] = "9*sin(t)";
/* ---------------------------------- */
double h(
double t)
{
return( t);
}
char heq[] = "t";
/* ---------------------------------- */
/* ---------------------------------- */
|