Sommaire


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

c00e.c
/* --------------------------------- */
/* save as  c00e.c                   */
/* --------------------------------- */
#include "x_hfile.h"
#include      "fa.h"
/* --------------------------------- */
int main(void)
{
CTRL_splot w; 

  w.xmin =  -1;
  w.xmax =  14;            
  w.ymin =  -1;
  w.ymax =   6;
  
Circlevalue c;

  c.radius =  1;
  c.cx     =  1;            
  c.cy     =  1;
  c.step   = .1;

tvalue t; 
	
  t.value =       0.;
  t.min   =       0.; 
  t.max   =    4.*PI;  
  t.step  =       .1; 

 clrscrn();

 printf(" Let C be the curve consisting of all ordered \n\n" 
        " pairs (f(t),g(t)) \n\n\n\n" 
        " f : t-> %s           \n\n" 
        " g : t-> %s       \n\n\n\n", Xeq, Yeq);
 
 printf(" ... load \"a_main.plt\" ... with gnuplot.  \n\n");

 for(c.cx = t.min; c.cx < t.max; c.cx+=t.step)
    {	 
     circle(c);
     radius(f,g,c.cx);
     
     G_C_2d_r(w,f,g,t);
      
     pause(9.E7);
    }



 stop();

 return 0;
}
/* --------------------------------- */
/* --------------------------------- */


Exemple de sortie écran :

 Let C be the curve consisting of all ordered 

 pairs (f(t),g(t)) 



 f : t-> t-sin(t)           

 g : t-> 1-cos(t)       



 Open the file "a_main.plt" with Gnuplot.

 Press return to continue.