Sommaire


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

c00b.c
/* --------------------------------- */
/* save as c00b.c                    */
/* --------------------------------- */
#include  "x_hfile.h"
#include       "fb.h"
/* --------------------------------- */
int main(void)
{
tvalue     t;
  	
  t.value=  4; 
  t.min  =  0; 
  t.max  =  5; 
  t.step = .01;

tvalue L_tan;

 L_tan.min  = -.3;
 L_tan.max  =  .3;
 L_tan.step =  .1;
 
 clrscrn();
 
 printf(" r(t) = f(t)i + g(t)j \n\n");
 printf(" With \n\n");
 printf(" f : t-> %s  \n", feq);
 printf(" g : t-> %s\n\n", geq);
 printf(" t = %+.2f \n\n", t.value);


 G_Curve_tang_2d( i_ctrl_splot(-10,10,-10,10, 0.,0., 0.,0., 0.,0.),
                  f,g,
                  t,
                  L_tan
                 );

 printf(" Draw the tangent and the vector at the point P(f(t),g(t))\n\n"
        " ... load \"a_main.plt\" ... with gnuplot.\n\n");
 
 stop();

 return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Draw tangent of a vectoriel function

Exemple de sortie écran :

 r(t) = f(t)i + g(t)j 

 With 

 f : t-> 3*sin(t**2)  
 g : t-> 4-t**(3./2.)

 t = +4.00 

 Draw the tangent and the vector at the point P(f(t),g(t))

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

 Press return to continue.