Mathc initiation/Fichiers h : c47a1


Sommaire

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

c16a2.c
/* --------------------------------- */
/* save as c16a2.c                    */
/* --------------------------------- */
#include "x_hfile.h"
#include      "fa.h"
/* --------------------------------- */
int main(void)
{
 clrscrn();
 printf(" Draw the two functions\n\n");

 printf("   %s = 0    \n", feq);
 printf("   %s = 0\n\n\n", geq);

                    G_2d(  -1.5,1.5,
                           -1.5,1.5,
                           feq,f,
                           geq,g
                           );

 printf(" Open the file \"a_main.plt\" with gnuplot.\n\n");

 stop();

 return 0;
}
/* --------------------------------- */
/* --------------------------------- */


Exemple de sortie écran :

 Draw the two functions

   x**2 + y**2 - 1 = 0    
   y - sin(x) = 0


 Open the file "a_main.plt" with gnuplot.

 Press return to continue.