Mathc initiation/Fichiers h : c72b03

Un livre de Wikilivres.


Sommaire


Installer ce fichier dans votre répertoire de travail.

fc.h
utilitaire
/* ---------------------------------- */
/* save as fc.h                      */
/* ---------------------------------- */
double f(
double x)
{
        return( pow(x,3) * sqrt(pow(x,2)+5));
}
char  feq[] =  "(x**3) * (x**2+5)**(1/2)";
/* ---------------------------------- */
double F(
double x)
{
       return( (1./5.)*pow((pow(x,2.)+5.),5./2.) - (5./3.)*pow((pow(x,2.)+5.),3./2.) );
}
char Feq[] = "(1/5)*pow((pow(x,2)+5),5/2) - (5/3)*pow((pow(x,2)+5),3/2)";
/* ---------------------------------- */


Dans ce fichier il y a la fonction f et sa primitive F.