Mathc initiation/a198
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c00d.c |
---|
/* --------------------------------- */
/* save as c00d.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "fd.h"
/* --------------------------------- */
int main(void)
{
tvalue t;
t.min = 0.;
t.max = 2.*PI;
t.step = 0.1;
CTRL_splot p;
p.xmin = -9;
p.xmax = 9;
p.ymin = -9;
p.ymax = 9;
clrscrn();
printf(" Spiral of Archimedes\n\n"
" r : t-> %s\n\n", req);
G_polar_lp(p,
r,
t);
printf(" ... load \"a_main.plt\" ... with gnuplot. \n\n");
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
Spiral of Archimedes
r : t-> a*t
To see the graph, open the file "a_main.plt" with Gnuplot.
Press return to continue.