Mathc initiation/a371
Installer et compiler ces fichiers dans votre répertoire de travail.
c00d.c |
---|
/* --------------------------------- */
/* save as c00d.c */
/* --------------------------------- */
#include "x_afile.h"
#include "fd.h"
/* --------------------------------- */
int main(void)
{
tvalue n;
n.min = 0;
n.max = 10;
CTRL_splot w;
w.xmin = -1.;
w.xmax = +10;
w.ymin = -1.;
w.ymax = +1.;
clrscrn();
printf(" Sketch the %.0f first term of the sequence [a_n] \n\n\n"
" a_n : %s\n\n",n.max, a_neq);
G_a_n(w,
n,a_n);
printf(" ... load \"a_main.plt\" ... with gnuplot.\n\n");
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
Sketch the 10 first term of the sequence [a_n]
a_n : (1./2.)^n
... load "a_main.plt" ... with gnuplot.
Press return to continue.