Mathc initiation/Fichiers h : c66fb
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c0c1.c |
|---|
/* --------------------------------- */
/* save as c0c1.c */
/* --------------------------------- */
#include "x_afile.h"
#include "fc.h"
/* --------------------------------- */
int main(void)
{
tvalue n;
n.min = 1;
n.max = 9;
CTRL_splot w;
w.xmin = -1;
w.xmax = +10;
w.ymin = -10;
w.ymax = +16;
clrscrn();
printf(" Sketch the %.0f first term of the sequence [a_n] \n\n\n"
" a_n : a_1 + (n-1) r \n %d + (n-1) %d\n\n",
n.max, A_1, R);
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 9 first term of the sequence [a_n]
a_n : a_1 + (n-1) r
15 + (n-1) -3
... load "a_main.plt" ... with gnuplot.
Press return to continue.