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( 1 );
}
char feq[] = "1";
/* --------------------------------- */
/* --------------------------------- */
double v(
double x)
{
return( sqrt(x));
}
char veq[] = "sqrt(x)";
/* ---------------------------------- */
double u(
double x)
{
return( (x*x) );
}
char ueq[] = "x**2";
/* --------------------------------- */
/* ---------------------------------- */
double v_minu_u(
double x)
{
return( sqrt(x)-x*x );
}
char v_minu_ueq[] = "sqrt(x)-x**2";
/* --------------------------------- */
/* --------------------------------- */
double bx = .8; char bxeq[] = ".8";
double ax = .2; char axeq[] = ".2";
/* ---------------------------------- */
/* ---------------------------------- */
|
|
fb.h
|
/* --------------------------------- */
/* save as fb.h */
/* --------------------------------- */
#define LOOP 2*50
/* ---------------------------------- */
double f(
double x,
double y)
{
return( 1 );
}
char feq[] = "1";
/* --------------------------------- */
/* --------------------------------- */
double v(
double x)
{
return( exp(x));
}
char veq[] = "exp(x)";
/* --------------------------------- */
double u(
double x)
{
return( (log(x)) );
}
char ueq[] = "log(x)";
/* ---------------------------------- */
/* ---------------------------------- */
double v_minu_u(
double x)
{
return( exp(x)-log(x) );
}
char v_minu_ueq[] = "exp(x)-log(x)";
/* --------------------------------- */
/* --------------------------------- */
double bx = 2.; char bxeq[] = "2";
double ax = 1.; char axeq[] = "1";
/* ---------------------------------- */
/* ---------------------------------- */
|
|
fc.h
|
/* --------------------------------- */
/* save as fc.h */
/* --------------------------------- */
#define LOOP 2*50
/* ---------------------------------- */
double f(
double x,
double y)
{
return( 1 );
}
char feq[] = "1";
/* --------------------------------- */
/* --------------------------------- */
double v(
double x)
{
return( cos(x));
}
char veq[] = "cos(x)";
/* --------------------------------- */
double u(
double x)
{
return( (-x*x-2) );
}
char ueq[] = "-x**2-2";
/* --------------------------------- */
/* --------------------------------- */
double v_minu_u(
double x)
{
return( cos(x)-(-x*x-2) );
}
char v_minu_ueq[] = "cos(x)-(-x**2-2)";
/* ---------------------------------- */
/* --------------------------------- */
double bx = 1.5; char bxeq[] = "+1.5";
double ax = -1.5; char axeq[] = "-1.5";
/* ---------------------------------- */
/* ---------------------------------- */
|
|