Mathc initiation/a392Mathc initiation/a364


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*x * cos(y) );
}
char  feq[] = "x**2 * cos(y)";
/* ---------------------------------- */
/* ---------------------------------- */
double v(
double x)
{
 return(       (2) );
}
char  veq[] =  "2";
/* ---------------------------------- */
double u(
double x)
{
 return(      (0) );
}
char  ueq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
double b = 3.;    char beq[] = "3";
double a = 0.;    char aeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
fa2.h
/* --------------------------------- */
/* save as fa2.h                     */
/* --------------------------------- */
#define  LOOP  2*50
/* --------------------------------- */
double hx(
double x)
{
 return(        x*x );
}
char  hxeq[] = "x**2";
/* ---------------------------------- */
/* ---------------------------------- */
double bx = 3.;    char bxeq[] = "3";
double ax = 0.;    char axeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
double hy(
double y)
{
 return(        cos(y));
}
char  hyeq[] = "cos(y)";
/* ---------------------------------- */
/* ---------------------------------- */
double by = 2.;    char byeq[] = "2";
double ay = 0.;    char ayeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
.

.
.