Mathc initiation/Fichiers h : c28a5
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c0nc.c |
---|
/* --------------------------------- */
/* save as c0nc.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "fc.h"
/* --------------------------------- */
int main(void)
{
tvalue t;
t.value = 2.5;
t.min = 0.;
t.max = 2.*PI;
t.step = .05;
CTRL_splot p;
p.xmin = -10;
p.xmax = 10;
p.ymin = -5;
p.ymax = 5;
clrscrn();
printf(" Let C be the curve consisting of all ordered pairs (f(t),g(t)).\n\n");
printf(" With\n\n");
printf(" f : t-> %s\n\n", feq);
printf(" g : t-> %s\n\n", geq);
Gctn_2d( p,
f,g,
DgDf,
t
);
printf(" ... load \"a_main.plt\" ... with gnuplot. \n\n");
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
Let C be the curve consisting of all ordered pairs (f(t),g(t)).
With
f : t-> (a+b)*cos(t)-b*cos((a+b/b)*t)
g : t-> (a+b)*sin(t)-b*sin((a+b/b)*t)
To see the curve C, open the file "a_main.plt" with Gnuplot.
Press return to continue.