Sommaire
Installer ce fichier dans votre répertoire de travail.
Texte de la légende
|
fa.h
|
/* ---------------------------------- */
/* save as fa.h */
/* ---------------------------------- */
#define LOOP 2*50
/* ---------------------------------- */
double f(
double x,
double y)
{
return(x*y*y);
}
char feq[] = "x*y**2";
/* ---------------------------------- */
double g(
double t)
{
return(cos(t));
}
char geq[] = "cos(t)";
/* ---------------------------------- */
double h(
double t)
{
return(sin(t));
}
char heq[] = "sin(t)";
/* ---------------------------------- */
/* ---------------------------------- */
double b = PI/2; char beq[] = "PI/2";
double a = 0.; char aeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
|
|
fb.h
|
/* ---------------------------------- */
/* save as fb.h */
/* ---------------------------------- */
#define LOOP 2*50
/* ---------------------------------- */
double f(
double x,
double y)
{
return(x*x*x + y);
}
char feq[] = "x**3 + y";
/* ---------------------------------- */
double g(
double t)
{
return(3*t);
}
char geq[] = "3*t";
/* ---------------------------------- */
double h(
double t)
{
return(t*t*t);
}
char heq[] = "t**3";
/* ---------------------------------- */
/* ---------------------------------- */
double b = 1.; char beq[] = "1";
double a = 0.; char aeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
|
|
fc.h
|
/* ---------------------------------- */
/* save as fc.h */
/* ---------------------------------- */
#define LOOP 2*50
/* ---------------------------------- */
double f(
double x,
double y)
{
return(sqrt(x*x + y*y));
}
char feq[] = "sqrt(x**2 + y**2)";
/* ---------------------------------- */
double g(
double t)
{
return(2*t*t);
}
char geq[] = "2*t**2";
/* ---------------------------------- */
double h(
double t)
{
return(4*t-3*t*t);
}
char heq[] = "4*t-3*t**2";
/* ---------------------------------- */
/* ---------------------------------- */
double b = 1.; char beq[] = "1";
double a = 0.; char aeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
|
|