Mathc initiation/Fichiers h : c30ba


Sommaire


Installer ce fichier dans votre répertoire de travail.

fa.h
utilitaire
/* --------------------------------- */
/* save as fa.h                      */
/* --------------------------------- */
double f(
double x)
{
        return( (sin(x)/x) );
}
/* --------------------------------- */
char  feq[] =   "sin(x)/x";
/* --------------------------------- */


Fichier de commande gnuplot :
# ---------------------
# Copy and past this file into the screen of gnuplot
#
#
set zeroaxis lt 3 lw 1
set grid
plot [ -10.0:10.0] [-0.3:1.0]\
                   sin(x)/x
reset
# ---------------------


Dans ce fichier il y a la fonction f pour le fichier c2a.c