Aller au contenu

Mathc initiation/Fichiers h : c28ba

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                      */
/* --------------------------------- */
double f(
double x,
double y)
{
 return(      (x*x  - 5*x*y + 3*y*y) );
}
/* --------------------------------- */
char  feq[] = "x**2 - 5*x*y + 3*y**2";
/* --------------------------------- */
fb.h
/* --------------------------------- */
/* save as fb.h                      */
/* --------------------------------- */
double f(
double x,
double y)
{
 return(      sqrt(9*x*x - 4*y*y -1) );
}
/* --------------------------------- */
char  feq[] = "sqrt(9*x**2 - 4*y**2 -1)";
/* --------------------------------- */
fc.h
/* --------------------------------- */
/* save as fc.h                      */
/* --------------------------------- */
double f(
double x,
double y,
double z)
{
 return(      (x* y*y*y *z*z) );
}
/* --------------------------------- */
char  feq[] = "x* y**3 *z**2";
/* --------------------------------- */
fd.h
/* --------------------------------- */
/* save as fd.h                      */
/* --------------------------------- */
double f(
double x,
double y,
double z)
{
 return(      ((x+y)*(y+z)) );
}
/* --------------------------------- */
char  feq[] = "(x+y)*(y+z)";
/* --------------------------------- */
fe.h
/* --------------------------------- */
/* save as fe.h                      */
/* --------------------------------- */
double f(
double x,
double y)
{
 return(     ( x*x  * exp(-2*y) ) );
}
/* --------------------------------- */
char  feq[] = "x**2 * exp(-2*y)";
/* --------------------------------- */
ff.h
/* --------------------------------- */
/* save as ff.h                      */
/* --------------------------------- */
double f(
double x,
double y,
double z)
{
 return(     sqrt(x*x + y*y + z*z) );
}
/* --------------------------------- */
char  feq[] = "sqrt(x*x + y*y + z*z)";
/* --------------------------------- */
fi.h
/* --------------------------------- */
/* save as fi.h                      */
/* --------------------------------- */
double f(
double x,
double y)
{
 return(      (x*x  + 2*x*y - y*y) );
}
/* --------------------------------- */
char  feq[] = "x**2 + 2*x*y - y**2";
/* --------------------------------- */
fj.h
/* --------------------------------- */
/* save as fj.h                      */
/* --------------------------------- */
double f(
double x,
double y)
{
 return(   pow((x*y - y*y),4)  );
}
/* --------------------------------- */
char  feq[] = "(x*y - y**2)**4";
/* --------------------------------- */