Mathc initiation/a174
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c00c.c |
---|
/* ------------------------------------ */
/* Save as : c00c.c */
/* ------------------------------------ */
#include "x_hfile.h"
#include "fa.h"
/* ------------------------------------ */
int main(void)
{
CTRL_splot w;
w.xmin = -5;
w.xmax = 5;
w.ymin = -5;
w.ymax = 5;
tvalue t;
t.value = 0.;
t.min = 0.;
t.max = 2.01*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", feq, geq);
G_C_2d_f(w,f,g,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))
f : t-> a*(2*cos(t)-cos(2*t))
g : t-> a*(2*sin(t)-sin(2*t))
Open the file "a_main.plt" with Gnuplot.
Press return to continue.