Mathc initiation/Fichiers h : c54a4
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c00a.c |
---|
/* --------------------------------- */
/* save as c00a.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "fa.h"
/* --------------------------------- */
int main(void)
{
CTRL_splot p;
p.xmin = 4, p.xmax = 8;
p.ymin = -8, p.ymax = -4;
p.zmin = -2, p.zmax = 2;
p.rot_x = 59, p.rot_z = 247;
p.scale = 1, p.scale_z = 1;
pt2d Q = i_pt2d( 5.5,-5.5);
pt2d step = i_pt2d(.1,.1);
clrscrn();
printf(" f : (x,y)-> %s\n\n\n", feq);
printf(" choose a first approximation for \n");
printf(" your critical point for example :\n\n\n");
printf(" x = %f y = %f \n\n\n",Q.x,Q.y);
G_3d_pxy( p,
feq,f,
Q,step);
printf(" ... load \"a_main.plt\" ... with gnuplot. \n\n");
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran 1 :
f : (x,y)-> cos(x)+cos(y)
choose a first approximation for
your critical point for example :
x = 5.500000 y = -5.500000
Open the file "a_main.plt" with gnuplot.
Press return to continue.