Mathc initiation/Fichiers h : c53a4


Sommaire

Installer ces fichiers dans votre répertoire de travail.

Les fonctions f
fa.h
/* ---------------------------------- */
/* save as fa.h                       */
/* ---------------------------------- */
double f(
double t)
{
        return( 6*t*t);
}
char  feq[] =  "6*t**2";
/* ---------------------------------- */
double g(
double t)
{
        return( -4*t);
}
char  geq[] =  "-4*t";
/* ---------------------------------- */
/* ---------------------------------- */
.
.
.
.
.
.
fb.h
/* ---------------------------------- */
/* save as fb.h                       */
/* ---------------------------------- */
double f(
double t)
{
        return(  sin(t));
}
char  feq[] =  "+sin(t)";
/* ---------------------------------- */
double g(
double t)
{
        return( -cos(t));
}
char  geq[] =  "-cos(t)";
/* ---------------------------------- */
double h(
double t)
{
        return(  tan(t));
}
char  heq[] =  "+tan(t)";
/* ---------------------------------- */
/* ---------------------------------- */
fc.h
/* ---------------------------------- */
/* save as fc.h                       */
/* ---------------------------------- */
double f(
double t)
{
        return( 2*t);
}
char  feq[] =  "2*t";
/* ---------------------------------- */
double g(
double t)
{
        return( 8 - 2*t*t);
}
char  geq[] =  "8 - 2*t**2";
/* ---------------------------------- */
/* ---------------------------------- */
.
.
.
.
.
.
fd.h
/* ---------------------------------- */
/* save as fd.h                       */
/* ---------------------------------- */
double f(
double t)
{
        return( cos(t));
}
char  feq[] =  "cos(t)";
/* ---------------------------------- */
double g(
double t)
{
        return( sin(t));
}
char  geq[] =  "sin(t)";
/* ---------------------------------- */
double h(
double t)
{
        return( t);
}
char  heq[] =  "t";
/* ---------------------------------- */
/* ---------------------------------- */
fe.h
/* ---------------------------------- */
/* save as fe.h                       */
/* ---------------------------------- */
double f(
double t)
{
        return( 2./t);
}
char  feq[] =  "2./t";
/* ---------------------------------- */
double g(
double t)
{
        return( 3./(t+1.));
}
char  geq[] =  "3./(t+1.)";
/* ---------------------------------- */
/* ---------------------------------- */

.

.

.

ff.h
/* ---------------------------------- */
/* save as ff.h                       */
/* ---------------------------------- */
double f(
double t)
{
        return( exp(t)*cos(t));
}
char  feq[] =  "exp(t)*cos(t)";
/* ---------------------------------- */
double g(
double t)
{
        return( exp(t)*sin(t));
}
char  geq[] =  "exp(t)*sin(t)";
/* ---------------------------------- */
double h(
double t)
{
        return( exp(t));
}
char  heq[] =  "exp(t)";
/* ---------------------------------- */
/* ---------------------------------- */
fg.h
/* ---------------------------------- */
/* save as fg.h                       */
/* ---------------------------------- */
double f(
double t)
{
        return( t);
}
char  feq[] =  "t";
/* ---------------------------------- */
double g(
double t)
{
        return( t*t);
}
char  geq[] =  "t**2";
/* ---------------------------------- */
double h(
double t)
{
        return( t*t*t);
}
char  heq[] =  "t**3";
/* ---------------------------------- */
/* ---------------------------------- */
fh.h
/* ---------------------------------- */
/* save as fh.h                       */
/* ---------------------------------- */
double f(
double t)
{
        return( 4*cos(t));
}
char  feq[] =  "4*cos(t)";
/* ---------------------------------- */
double g(
double t)
{
        return( 9*sin(t));
}
char  geq[] =  "9*sin(t)";
/* ---------------------------------- */
double h(
double t)
{
        return( t);
}
char  heq[] =  "t";
/* ---------------------------------- */
/* ---------------------------------- */


Déclaration des fichiers h.