Mathc initiation/Fichiers h : c61fa


SommaireUtilise la commande "Retour en Arrière" de ton navigateur.


Installer ce fichier dans votre répertoire de travail.


Texte de la légende
fa.h
/* ---------------------------------- */
/* save as fa.h                       */
/* ---------------------------------- */
#define  LOOP  2*250
/* ---------------------------------- */
double M(
double x,
double y,
double z)
{
      return( (3*x) );
}
char  Meq[] = "+ 3*x";
/* ---------------------------------- */
double N(
double x,
double y,
double z)
{
      return( (3*y) );
}
char  Neq[] = "+ 3*y";
/* ---------------------------------- */
double P(
double x,
double y,
double z)
{
      return( (z) );
}
char  Peq[] = " + z";
/* ---------------------------------- */
/* ---------------------------------- */
double f(
double x,
double y)
{
      return( (9-x*x-y*y) );
}
char  feq[] = "9-x**2-y**2";
/* ---------------------------------- */
/* ---------------------------------- */
double v(
double y)
{
 return(       sqrt(9-y*y)  );
}
char  veq[] = "+sqrt(9-y**2)";
/* ---------------------------------- */
double u(
double y)
{
 return(       -sqrt(9-y*y) );
}
char  ueq[] = "-sqrt(9-y**2)";
/* ---------------------------------- */
/* ---------------------------------- */
double by =    3.;    char byeq[] =  "3";
double ay =   -3.;    char ayeq[] = "-3";
/* ---------------------------------- */
/* ---------------------------------- */
fb.h
/* ---------------------------------- */
/* save as fb.h                       */
/* ---------------------------------- */
#define  LOOP  2*250
/* ---------------------------------- */
double M(
double x,
double y,
double z)
{
      return( (x) );
}
char  Meq[] = "x";
/* ---------------------------------- */
double N(
double x,
double y,
double z)
{
      return( (y) );
}
char  Neq[] = "y";
/* ---------------------------------- */
double P(
double x,
double y,
double z)
{
      return( (z) );
}
char  Peq[] = "z";
/* ---------------------------------- */
/* ---------------------------------- */
double f(
double x,
double y)
{
      return( (1-x*x-y*y) );
}
char  feq[] = "1-x**2-y**2";
/* ---------------------------------- */
/* ---------------------------------- */
double v(
double x)
{
 return(       sqrt(1-x*x)  );
}
char  veq[] = "+sqrt(1-x**2)";
/* ---------------------------------- */
double u(
double x)
{
 return(       -sqrt(1-x*x) );
}
char  ueq[] = "-sqrt(1-x**2)";
/* ---------------------------------- */
/* ---------------------------------- */
double bx =    1.;    char bxeq[] = "+1";
double ax =   -1.;    char axeq[] = "-1";
/* ---------------------------------- */
/* ---------------------------------- */
fc.h
/* ---------------------------------- */
/* save as fc.h                       */
/* ---------------------------------- */
#define  LOOP  2*250
/* ---------------------------------- */
double M(
double x,
double y,
double z)
{
      return( (x+y) );
}
char  Meq[] = "x+y";
/* ---------------------------------- */
double N(
double x,
double y,
double z)
{
      return( (z) );
}
char  Neq[] = "+ z";
/* ---------------------------------- */
double P(
double x,
double y,
double z)
{
      return( (x*z) );
}
char  Peq[] = " + xz";
/* ---------------------------------- */
/* ---------------------------------- */
double k(
double y,
double z)
{
      return( (1) );
}
char  keq[] = "1";
/* ---------------------------------- */
/* ---------------------------------- */
double v(
double z)
{
 return(       +1  );
}
char  veq[] = "+1";
/* ---------------------------------- */
double u(
double z)
{
 return(       -1 );
}
char  ueq[] = "-1";
/* ---------------------------------- */
/* ---------------------------------- */
double bz =    1.;    char bzeq[] = "+1";
double az =   -1.;    char azeq[] = "-1";
/* ---------------------------------- */
/* ---------------------------------- */