Sommaire


Installer et compiler ces fichiers dans votre répertoire de travail.

c00b.c
/* --------------------------------- */
/* save as c00b.c                    */
/* --------------------------------- */
#include  "x_afile.h"
#include       "fb.h"
/* --------------------------------- */
int main(void)
{
tvalue     n;

  n.min   =  0; 
  n.max   = 10;  
   
CTRL_splot w;

  w.xmin =  -1;
  w.xmax = +11;             
  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 : (2.*n-1.)/(3.*n+2.)

 ... load "a_main.plt" ... with gnuplot.

 Press return to continue.