Aller au contenu

Mathc initiation/002d

Un livre de Wikilivres.


Application

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*x*z*z + x*y*y*z + x*y*z);
}
char feq[] = "x**3 z**2 + xy**2 z + xyz";
/* --------------------------------- */
/* --------------------------------- */
double vz(
double x,
double y)
{
 return(       (+5));
}
char  veq[] = "+5";
/* --------------------------------- */
double uz(
double x,
double y)
{
 return(       (+2));
}
char  ueq[] = "+2";
/* --------------------------------- */
/* --------------------------------- */
double ty(
double x)
{
 return(       (+4));
}
char  teq[] = "+4";
/* --------------------------------- */
double sy(
double x)
{
 return(       (-1));
}
char  seq[] = "-1";
/* --------------------------------- */
/* --------------------------------- */
double bx = (+1); char bxeq[] = "(+1)";
double ax = (-1); char axeq[] = "(-1)";
/* ---------------------------------- */
/* ---------------------------------- */
fb.h
/* --------------------------------- */
/* save as fb.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return((x*tan(x)*sin(x)*y*z+ tan(x)*y*y ));
}
char feq[] = "x tan(x) sin(x) y z+tan(x) y**2";
/* --------------------------------- */
/* --------------------------------- */
double vz(
double x,
double y)
{
 return(       (+5));
}
char  veq[] = "+5";
/* --------------------------------- */
double uz(
double x,
double y)
{
 return(       (+2));
}
char  ueq[] = "+2";
/* --------------------------------- */
/* --------------------------------- */
double ty(
double x)
{
 return(       (+4));
}
char  teq[] = "+4";
/* --------------------------------- */
double sy(
double x)
{
 return(       (-2));
}
char  seq[] = "-2";
/* --------------------------------- */
/* --------------------------------- */
double bx = (+1); char bxeq[] = "+1";
double ax = (-1); char axeq[] = "-1";
/* ---------------------------------- */
/* ---------------------------------- */
fc.h
/* --------------------------------- */
/* save as fc.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return(y*y*sin(y)*z + x*y*y*y*z );
}
char feq[] = "y y sin(y) z + x y**3 z";
/* --------------------------------- */
/* --------------------------------- */
double vz(
double x,
double y)
{
 return(      (+5));
}
char  veq[] = "+5";
/* --------------------------------- */
double uz(
double x,
double y)
{
 return(      (+2));
}
char  ueq[] = "+2";
/* --------------------------------- */
/* --------------------------------- */
double ty(
double x)
{
 return(       (+1));
}
char  teq[] = "+1";
/* --------------------------------- */
double sy(
double x)
{
 return(       (-1));
}
char  seq[] = "-1";
/* --------------------------------- */
/* --------------------------------- */
double bx = (+5); char bxeq[] = "(+5)";
double ax = (-2); char axeq[] = "(-2)";
/* ---------------------------------- */
/* ---------------------------------- */
fd.h
/* --------------------------------- */
/* save as fd.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y,
double z)
{
 return(x*x*y*z + y*y*sin(z));
}
char feq[] = "x**2 y z + y**2 sin(z)";
/* --------------------------------- */
/* --------------------------------- */
double vz(
double x,
double y)
{
 return(      (+1));
}
char  veq[] = "+1";
/* --------------------------------- */
double uz(
double x,
double y)
{
 return(      (-1));
}
char  ueq[] = "-1";
/* --------------------------------- */
/* --------------------------------- */
double ty(
double x)
{
 return(       (+5));
}
char  teq[] = "+5";
/* --------------------------------- */
double sy(
double x)
{
 return(       (+2));
}
char  seq[] = "+2";
/* --------------------------------- */
/* --------------------------------- */
double bx = (+5); char bxeq[] = "(+5)";
double ax = (-2); char axeq[] = "(-2)";
/* ---------------------------------- */
/* ---------------------------------- */