Sommaire


Installer ce fichier dans votre répertoire de travail.

fa.h
/* ------------------------------------ */
/*  Save as :   fa.h                    */
/* ------------------------------------ */
double f(
double x)
{
        return( (-2.*pow(x,3)-3.*pow(x,2)+2.*x+5.)/(2.*x+3.) );
}
char  feq[] =   "(-2*x**3 - 3*x**2 + 2*x + 5)/(2*x+3)";
/* ------------------------------------ */
double fax2(
double x)
{
        return( ((-2.*pow(x,3)-3.*pow(x,2)+2.*x+5.)/(2.*x+3.))
                  /pow(x,2));
}
char  faxeq[] =  "((-2*x**3 - 3*x**2 + 2*x + 5)/(2*x+3))/x**2";
/* ------------------------------------ */
double fbx(
double x)
{
        return( (((-2.*pow(x,3)-3.*pow(x,2)+2.*x+5.)/(2.*x+3.))+pow(x,2))
        /x );
}
char  fbxeq[] = "(((-2*x**3 - 3*x**2 + 2*x + 5)/(2*x+3))+x**2)/x";
/* ------------------------------------ */
double fc(
double x)
{
 return( (((-2.*pow(x,3)-3.*pow(x,2)+2.*x+5.)/(2.*x+3.))+pow(x,2)) );
}
char  fceq[] =   "((-2*x**3 - 3*x**2 + 2*x + 5)/(2*x+3))+x**2";
/* ------------------------------------ */
double fax2bxc(
double x)
{
           return( -pow(x,2)+1 );
}
char  fax2bxceq[] =   "-x**2+1";
/* ------------------------------------ */
/* ------------------------------------ */
Déclaration des fichiers h.