Mathc initiation/a261
Apparence
Installer ce fichier dans votre répertoire de travail.
fk.h |
|---|
/* --------------------------------- */
/* save as fk.h */
/* --------------------------------- */
double f(
double x)
{
return( pow((1+6./x),(x/6.)) );
}
/* --------------------------------- */
char feq[] = "(1+6/x)**(x/6)";
/* --------------------------------- */
/* --------------------------------- */
Fichier de commande gnuplot :
# ---------------------
# Copy and past this file into the screen of gnuplot
#
#
set zeroaxis lt 3 lw 1
set grid
plot [ -0.0:3000.0] [2.4:2.8]\
(1+6/(x))**(x/6),\
exp(1)
reset
# ---------------------