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