Aller au contenu

Mathc initiation/a404

Un livre de Wikilivres.


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,
double z)
{
 return(        x*x * cos(y) * sin(z) );
}
char  feq[] = "x**2 * cos(y) * sin(z)";
/* --------------------------------- */
/* --------------------------------- */
double v(
double y,
double z)
{
 return(       1.);
}
char  veq[] = "1";
/* --------------------------------- */
double u(
double y,
double z)
{
 return(       0);
}
char  ueq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double t(
double z)
{
 return(       PI/4.);
}
char  teq[] = "PI/4";
/* ---------------------------------- */
double s(
double z)
{
 return(      (0));
}
char  seq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double b = PI/3.;    char beq[] = "PI/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 = 1.;    char bxeq[] = "1";
double ax = 0.;    char axeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
double hy(
double y)
{
 return(        cos(y));
}
char  hyeq[] = "cos(y)";
/* ---------------------------------- */
/* ---------------------------------- */
double by = PI/4.;    char byeq[] = "PI/4";
double ay =    0.;    char ayeq[] =    "0";
/* ---------------------------------- */
/* ---------------------------------- */
double hz(
double z)
{
 return(        sin(z));
}
char  hzeq[] = "sin(z)";
/* ---------------------------------- */
/* ---------------------------------- */
double bz = PI/3.;    char bzeq[] = "PI/3";
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(        x*x * cos(y) * sin(z) );
}
char  feq[] = "x**2 * cos(y) * sin(z)";
/* --------------------------------- */
/* --------------------------------- */
double v(
double y,
double z)
{
 return(       1.);
}
char  veq[] = "1";
/* --------------------------------- */
double u(
double y,
double z)
{
 return(       0);
}
char  ueq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double t(
double z)
{
 return(       PI/4.);
}
char  teq[] = "PI/4";
/* ---------------------------------- */
double s(
double z)
{
 return(      (0));
}
char  seq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double b = +PI/3.;    char beq[] = "+PI/3";
double a = -PI/3.;    char aeq[] = "-PI/3";
/* ---------------------------------- */
/* ---------------------------------- */
fb2.h
/* --------------------------------- */
/* save as fb2.h                     */
/* --------------------------------- */
#define  LOOP  2*50
/* --------------------------------- */
double hx(
double x)
{
 return(        x*x );
}
char  hxeq[] = "x**2";
/* ---------------------------------- */
/* ---------------------------------- */
double bx = 1.;    char bxeq[] = "1";
double ax = 0.;    char axeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
double hy(
double y)
{
 return(        cos(y));
}
char  hyeq[] = "cos(y)";
/* ---------------------------------- */
/* ---------------------------------- */
double by = PI/4.;    char byeq[] = "PI/4";
double ay =    0.;    char ayeq[] =    "0";
/* ---------------------------------- */
/* ---------------------------------- */
double hz(
double z)
{
 return(        sin(z));
}
char  hzeq[] = "sin(z)";
/* ---------------------------------- */
/* ---------------------------------- */
double bz = +PI/3.;    char bzeq[] = "+PI/3";
double az = -PI/3.;    char azeq[] = "-PI/3";
/* ---------------------------------- */
/* ---------------------------------- */
.

.

.

.

.

.
fc.h
/* ---------------------------------- */
/* save as fc.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return(       sin(z) );
}
char  feq[] = "sin(z)";
/* --------------------------------- */
/* --------------------------------- */
double v(
double y,
double z)
{
 return(       2.);
}
char  veq[] = "2";
/* --------------------------------- */
double u(
double y,
double z)
{
 return(       0);
}
char  ueq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double t(
double z)
{
 return(       3.);
}
char  teq[] = "3";
/* ---------------------------------- */
double s(
double z)
{
 return(      (0));
}
char  seq[] = "0";
/* --------------------------------- */
/* --------------------------------- */
double b = +PI/3.;    char beq[] = "+PI/3";
double a =     0.;    char aeq[] =     "0";
/* ---------------------------------- */
/* ---------------------------------- */
fc2.h
/* --------------------------------- */
/* save as fc2.h                     */
/* --------------------------------- */
#define  LOOP  2*50
/* --------------------------------- */
double hx(
double x)
{
 return(        1 );
}
char  hxeq[] = "1";
/* ---------------------------------- */
/* ---------------------------------- */
double bx = 2.;    char bxeq[] = "2";
double ax = 0.;    char axeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
double hy(
double y)
{
 return(        1);
}
char  hyeq[] = "1";
/* ---------------------------------- */
/* ---------------------------------- */
double by = 3.;    char byeq[] = "3";
double ay = 0.;    char ayeq[] = "0";
/* ---------------------------------- */
/* ---------------------------------- */
double hz(
double z)
{
 return(        sin(z));
}
char  hzeq[] = "sin(z)";
/* ---------------------------------- */
/* ---------------------------------- */
double bz = +PI/3.;    char bzeq[] = "+PI/3";
double az =     0.;    char azeq[] =     "0";
/* ---------------------------------- */
/* ---------------------------------- */
.

.

.

.

.

.