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) );
}
char  feq[] = "x + y";
/* ---------------------------------- */
/* ---------------------------------- */
double u(
double x)
{
 return(     ( 0) );
}
char  ueq[] = "0";
/* ---------------------------------- */
double v(
double x)
{
 return(       sqrt(x) );
}
char  veq[] = "sqrt(x)";
/* ---------------------------------- */
/* ---------------------------------- */
double x2f(
double x,
double y)
{
 return(         x*x  * (x + y) );
}
char  x2feq[] = "x**2 * (x + y)";
/* ---------------------------------- */
double y2f(
double x,
double y)
{
 return(         y*y  * (x + y) );
}
char  y2feq[] = "y**2 * (x + y)";
/* ---------------------------------- */
/* ---------------------------------- */
double x2plsy2f(
double x,
double y)
{
 return(              (x*x + y*y)   * (x + y) );
}
char  x2plsy2feq[] = "(x**2 + y**2) * (x + y)";
/* ---------------------------------- */
/* ---------------------------------- */
double bx = 9.;    char bxeq[] = "9";
double ax = 0.;    char axeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
fb.h
/* ---------------------------------- */
/* save as fb.h                       */
/* ---------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y)
{
 return(  x );
}
char  feq[] = "x";
/* ---------------------------------- */
/* ---------------------------------- */
double u(
double y)
{
 return(      (y*y) );
}
char  ueq[] = "y**2";
/* ---------------------------------- */
double v(
double y)
{
 return(      (4) );
}
char  veq[] = "4";
/* ---------------------------------- */
/* ---------------------------------- */
double x2f(
double x,
double y)
{
 return       (x*x*  x );
}
char  x2feq[] = "x**2  x";
/* ---------------------------------- */
double y2f(
double x,
double y)
{
 return       (y*y*  x );
}
char  y2feq[] = "y**2  x";
/* ---------------------------------- */
/* ---------------------------------- */
double x2plsy2f(
double x,
double y)
{
 return(   (x*x + y*y)*   (x) );
}
char  x2plsy2feq[] = "(x**2 + y**2)  (x)";
/* ---------------------------------- */
/* ---------------------------------- */
double by =  2.;    char byeq[] = "+2";
double ay = -2.;    char ayeq[] = "-2";
/* ---------------------------------- */
/* ---------------------------------- */