Mathc initiation/Fichiers h : c29a2


Sommaire


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

c01d.c
/* --------------------------------- */
/* save as c01d.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   = 315;
p.scale =   1;  p.scale_z =   1;
                            
double mstep = 0.001;
                            
 clrscrn();

 printf(" f : (x,y)-> %s\n", feq);
 printf(" m : (y)-> %s\n\n\n", meq);
 
     G_3dky(   p,
              feq,
                f,
                m,
            mstep);

 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)
 m : (y)-> sin(y)


 Open the file "a_main.plt" with gnuplot.

 Press return to continue.