Mathc initiation/Fichiers h : c38fa


Sommaire


Installer ces fichiers dans votre répertoire de travail.

Crystal Clear mimetype source h.png fa.h
'
/* ---------------------------------- */
/* save as fa.h                       */
/* ---------------------------------- */
double g(
double x)
{
        return(sqrt(x));
}
char  geq[] =  "sqrt(x)";
/* ---------------------------------- */
/* ---------------------------------- */
double h(
double x)
{
        return(x*x);
}
char  heq[] =  "x**2";
/* ---------------------------------- */
/* ---------------------------------- */
double gminuh(
double x)
{
        return( g(x) - h(x) );
}
/* ---------------------------------- */
/* ---------------------------------- */


Crystal Clear mimetype source h.png fb.h
'
/* ---------------------------------- */
/* save as fb.h                       */
/* ---------------------------------- */
double g(
double x)
{
        return(exp(x));
}
char  geq[] =  "exp(x)";
/* ---------------------------------- */
/* ---------------------------------- */
double h(
double x)
{
        return(log(x));
}
char  heq[] =  "log(x)";
/* ---------------------------------- */
/* ---------------------------------- */
double gminuh(
double x)
{
        return( g(x) - h(x) );
}
/* ---------------------------------- */
/* ---------------------------------- */


Crystal Clear mimetype source h.png fc.h
'
/* ---------------------------------- */
/* save as fc.h                       */
/* ---------------------------------- */
double g(
double x)
{
        return((x*x+1));
}
char  geq[] =  "x**2+1";
/* ---------------------------------- */
/* ---------------------------------- */
double h(
double x)
{
        return((x-2));
}
char  heq[] =  "x-2";
/* ---------------------------------- */
/* ---------------------------------- */
double gminuh(
double x)
{
        return( g(x) - h(x) );
}
/* ---------------------------------- */
/* ---------------------------------- */
Crystal Clear mimetype source h.png fd.h
'
/* ---------------------------------- */
/* save as fd.h                       */
/* ---------------------------------- */
double g(
double x)
{
        return((cos(x)));
}
char  geq[] =  "cos(x)";
/* ---------------------------------- */
/* ---------------------------------- */
double h(
double x)
{
        return((-x*x-2));
}
char  heq[] =  "-x*x-2";
/* ---------------------------------- */
/* ---------------------------------- */
double gminuh(
double x)
{
        return( g(x) - h(x) );
}
/* ---------------------------------- */
/* ---------------------------------- */


Déclaration des fonctions f(x) pour les fichier c05a.c, c05b.c, c05c.c, c05d.c.