Mathc initiation/Fichiers h : c51a3
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c02a.c |
---|
/* --------------------------------- */
/* save as c02a.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "fa.h"
/* --------------------------------- */
int main(void)
{
CTRL_splot p;
p.xmin = 1, p.xmax = 5;
p.ymin = -8, p.ymax = -4;
p.zmin = -1.5, p.zmax = 1.5;
p.rot_x = 19, p.rot_z = 21;
p.scale = 1, p.scale_z = 1;
pt2d Q = i_pt2d( 3.5,-6.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 = 3.500000 y = -6.500000
Open the file "a_main.plt" with gnuplot.
Press return to continue.