Mathc initiation/Fichiers h : c28a2


Sommaire


Installer et compiler ces fichiers dans votre répertoire de travail.

c01c.c
/* --------------------------------- */
/* save as c01c.c                    */
/* --------------------------------- */
#include "x_hfile.h"
#include      "fa.h"
/* --------------------------------- */
int main(void)
{
CTRL_splot p;
                            
p.xmin  =  -1;  p.xmax    =  1;
p.ymin  =  -1;  p.ymax    =  1;
p.zmin  = -.5;  p.zmax    = .5;
p.rot_x =  90;  p.rot_z   = 90;
p.scale =   1;  p.scale_z =  1;
                            
double lstep = 0.00001;

 clrscrn();

 printf(" f : (x,y)-> %s\n", feq);
 printf(" l : (y)-> %s\n\n\n", leq);

     G_3dky(   p,
              feq,
                f,
                l,
            lstep); 
 
 printf(" Open the file \"a_main.plt\" with gnuplot.\n\n");
 
 stop();

 return 0;
}
/* --------------------------------- */
/* --------------------------------- */
compute limit of (x*y*y)/(x*x + pow(y,4)) when x and y are 0

Exemple de sortie écran 1 :

 f : (x,y)-> (x*y**2)/(x**2+y**4)
 l : (y)-> 100*y


 Open the file "a_main.plt" with gnuplot.

 Press return to continue.