Aller au contenu

Mathc initiation/001X

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)
{
 return( (x*x*x + x* y*y + x) );
}
char  feq[] = "x**3 + x y**2 + x";
/* ---------------------------------- */
/* ---------------------------------- */
double by(
double x)
{
 return( (5) );
}
char  byeq[] = "+5";
/* ---------------------------------- */
double ay(
double x)
{
 return( (2) );
}
char  ayeq[] = "+2";
/* ---------------------------------- */
/* ---------------------------------- */
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)
{
 return((x*tan(x)*sin(x) *y*y));
}
char feq[] = "x tan(x) sin(x) y**2";
/* ---------------------------------- */
/* ---------------------------------- */
double by(
double x)
{
 return( (5) );
}
char  byeq[] = "+5";
/* ---------------------------------- */
double ay(
double x)
{
 return( (-1) );
}
char  ayeq[] = "-1";
/* ---------------------------------- */
/* ---------------------------------- */
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)
{
 return( (y*y* sin(y)* x*x) );
}
char  feq[] = "y y sin(y) x**2 ";
/* ---------------------------------- */
/* ---------------------------------- */
double by(
double x)
{
 return( (+1) );
}
char  byeq[] = "+1";
/* ---------------------------------- */
double ay(
double x)
{
 return( (-1) );
}
char  ayeq[] = "-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)
{
 return( (y* x*x+ 4* y*y*y *x) );
}
char  feq[] = "y x**2 + 4 y**3 x";
/* ---------------------------------- */
/* ---------------------------------- */
double bx(
double y)
{
 return(        +5 );
}
char  bxeq[] = "+5";
/* ---------------------------------- */
double ax(
double y)
{
 return(       (+2) );
}
char  axeq[] = "+2";
/* ---------------------------------- */
/* ---------------------------------- */
double by =  1;    char byeq[] = "+1";
double ay = -1;    char ayeq[] = "-1";
/* ---------------------------------- */
/* ---------------------------------- */
fe.h
/* --------------------------------- */
/* save as fe.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y)
{
 return( (y* x*x + 4* y* x) );
}
char  feq[] = "y x**2 + 4 y x";
/* ---------------------------------- */
/* ---------------------------------- */
double bx(
double y)
{
 return( y*y );
}
char  bxeq[] = "(+y**2)";
/* ---------------------------------- */
double ax(
double y)
{
 return( (-y*y) );
}
char  axeq[] = "(-y**2)";
/* ---------------------------------- */
/* ---------------------------------- */
double by =  1;    char byeq[] = "+1";
double ay = -1;    char ayeq[] = "-1";
/* ---------------------------------- */
/* ---------------------------------- */
ff.h
/* --------------------------------- */
/* save as ff.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y)
{
 return( (y* x*x*tan(x)) );
}
char  feq[] = "y x x tan(x)";
/* ---------------------------------- */
/* ---------------------------------- */
double bx(
double y)
{
 return(         +1 );
}
char  bxeq[] = "(+1)";
/* ---------------------------------- */
double ax(
double y)
{
 return(        (-1) );
}
char  axeq[] = "(-1)";
/* ---------------------------------- */
/* ---------------------------------- */
double by = +5;    char byeq[] = "+5";
double ay = +2;    char ayeq[] = "+2";
/* ---------------------------------- */
/* ---------------------------------- */