Aller au contenu

Mathc initiation/a415

Un livre de Wikilivres.


Sommaire


Installer ce fichier dans votre répertoire de travail.

fa.h
/* --------------------------------- */
/* save as fa.h                      */
/* --------------------------------- */
#define  LOOP  2*50
/* ---------------------------------- */
double f(
double x,
double y)
{
 return(       (+cos(x)*sin(y) + 4) );
}
char  feq[] = "(+cos(x)*sin(y) + 4)";
/* ---------------------------------- */
/* ---------------------------------- */
double g(
double x,
double y)
{
 return(       (-cos(x)*sin(y) - 4) );
}
char  geq[] = "(-cos(x)*sin(y) - 4)";
/* ---------------------------------- */
/* ---------------------------------- */
double f_mns_g(
double x,
double y)
{
 return(       (f(x,y) - g(x,y)) );
}
char  f_mns_geq[] = "(f(x,y) - g(x,y))";
/* ---------------------------------- */
/* ---------------------------------- */
double by(
double x)
{
 return(       (+3) );
}
char  byeq[] = "+3";
/* ---------------------------------- */
double ay(
double x)
{
 return(       (-3) );
}
char  ayeq[] = "-3";
/* ---------------------------------- */
/* ---------------------------------- */
double bx = +3.;    char bxeq[] = "+3";
double ax = -3.;    char axeq[] = "-3";
/* ---------------------------------- */
/* ---------------------------------- */


----