Mathc initiation/a417
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c0a2.c |
---|
/* --------------------------------- */
/* save as c0a2.c */
/* --------------------------------- */
#include "x_afile.h"
#include "fa.h"
/* --------------------------------- */
int main(void)
{
CTRL_splot w;
w.xmin = -3., w.xmax = 3.;
w.ymin = -3., w.ymax = 3.;
w.zmin = -5., w.zmax = 5.;
w.rot_x = 55., w.rot_z = 57.;
w.scale = 1., w.scale_z = 1.;
clrscrn();
printf(" Compute the volume between f and g :\n\n");
printf(" f : (x,y)-> %s \n", feq);
printf(" g : (x,y)-> %s\n\n\n", geq);
G_vfg( w,
feq,
geq);
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
Compute the volume between f and g :
f : (x,y)-> (+cos(x)*sin(y) + 4)
g : (x,y)-> (-cos(x)*sin(y) - 4)
... load "a_main.plt" ... with gnuplot.
Press return to continue.