Aller au contenu

Mathc initiation/c35ba

Un livre de Wikilivres.


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*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return(       (y*z) );
}
char  feq[] = "y*z";
/* --------------------------------- */
/* --------------------------------- */
double vx(
double y,
double z)
{
 return(      (1-y-z));
}
char  veq[] = "1-y-z";
/* --------------------------------- */
double ux(
double y,
double z)
{
 return(       0);
}
char  ueq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double ty(
double z)
{
 return(      (1-z));
}
char  teq[] = "1-z";
/* ---------------------------------- */
double sy(
double z)
{
 return(      (0));
}
char  seq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double bz = 1.;    char bzeq[] = "1";
double az = 0.;    char azeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
fb.h
/* ---------------------------------- */
/* save as fb.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return( (1) );
}
char  feq[] = "1";
/* --------------------------------- */
/* --------------------------------- */
double vx(
double y,
double z)
{
 return((2-y-z));
}
char  veq[] = "2-y-z";
/* --------------------------------- */
double ux(
double y,
double z)
{
 return(0);
}
char  ueq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double tz(
double y)
{
 return((sqrt(1-y*y)));
}
char  teq[] = "+sqrt(1-y**2)";
/* --------------------------------- */
double sz(
double y)
{
 return((-sqrt(1-y*y)));
}
char  seq[] = "-sqrt(1-y**2)";
/* --------------------------------- */
/* --------------------------------- */
double by = +1.;    char byeq[] = "+1";
double ay = -1.;    char ayeq[] = "-1";
/* ---------------------------------- */
/* ---------------------------------- */
fc.h
/* ---------------------------------- */
/* save as fc.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return( (1) );
}
char  feq[] = "1";
/* --------------------------------- */
/* --------------------------------- */
double vy(
double x,
double z)
{
 return( (z*z+x*x+1) );
}
char  veq[] = "z**2+x**2+1";
/* --------------------------------- */
double uy(
double x,
double z)
{
 return(0);
}
char  ueq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double tx(
double z)
{
  return( (2-2*z) );
}
char  teq[] = "2-2*z";
/* --------------------------------- */
double sx(
double z)
{
 return((0));
}
char  seq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double bz = 1.;    char bzeq[] = "1";
double az = 0.;    char azeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
fd.h
/* ---------------------------------- */
/* save as fd.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return( (1) );
}
char  feq[] = "1";
/* --------------------------------- */
/* --------------------------------- */
double vy(
double x,
double z)
{
 return((6-z));
}
char  veq[] = "6-z";
/* --------------------------------- */
double uy(
double x,
double z)
{
 return(0);
}
char  ueq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double tz(
double x)
{
 return((4-x*x));
}
char  teq[] = "4-x**2";
/* --------------------------------- */
double sz(
double x)
{
 return((3*x*x));
}
char  seq[] = "3*x**2";
/* --------------------------------- */
/* --------------------------------- */
double bx = +1.;    char bxeq[] = "+1";
double ax = -1.;    char axeq[] = "-1";
/* ---------------------------------- */
/* ---------------------------------- */
fe.h
/* ---------------------------------- */
/* save as fe.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return(      (1) );
}
char  feq[] = "1";
/* --------------------------------- */
/* --------------------------------- */
double vz(
double x,
double y)
{
 return(      (4-y));
}
char  veq[] = "4-y";
/* --------------------------------- */
double uz(
double x,
double y)
{
 return(       0);
}
char  ueq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double tx(
double y)
{
 return(      (+sqrt(y)));
}
char  teq[] = "+sqrt(y)";
/* --------------------------------- */
double sx(
double y)
{
 return(      (-sqrt(y)));
}
char  seq[] = "-sqrt(y)";
/* --------------------------------- */
/* --------------------------------- */
double by = 4.;    char byeq[] = "4";
double ay = 0.;    char ayeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
ff.h
/* --------------------------------- */
/* save as ff.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return(x*y);
}
char  feq[] = "x*y";
/* --------------------------------- */
/* --------------------------------- */
double vz(
double x,
double y)
{
 return((x*x*y*y*y));
}
char  veq[] = "x**2*y**3";
/* --------------------------------- */
double uz(
double x,
double y)
{
 return(x*y);
}
char  ueq[] = "x*y";
/* --------------------------------- */
/* --------------------------------- */
double ty(
double x)
{
 return((x*x));
}
char  teq[] = "x**2";
/* --------------------------------- */
double sy(
double x)
{
 return((x));
}
char  seq[] = "x";
/* --------------------------------- */
/* --------------------------------- */
double bx = 1.;    char bxeq[] = "1";
double ax = 0.;    char axeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */