Mathc gnuplot/Animation : Plan tangent

Un livre de Wikilivres.
Mathc gnuplot
Mathc gnuplot
Mathc gnuplot
Sommaire

I - Dessiner

Fichiers h partagés :

Application :

II - Animer

Application :

III - Géométrie de la tortue standard

Application :

IV - Géométrie de la tortue vectorielle

Application :

Annexe

Livre d'or



Préambule[modifier | modifier le wikicode]

Présentation[modifier | modifier le wikicode]

N'oubliez pas les fichiers *.h partagés. Récupérer aussi ceux du chapitre Dessiner : Plan tangent'.


Animer le plan tangent au point P[modifier | modifier le wikicode]

c01.c
Animer le plan tangent au point P
/* ------------------------------------ */
/*  Save as :   c01.c                   */
/* ------------------------------------ */
#include "x_ahfile.h"
#include       "fa.h"
/* ------------------------------------ */
int main(void)
{
double n = 0;

 printf(" Draw the Tangent plane.\n\n"
        " f : (x,y)-> %s\n\n", feq);

 while((n+=.05)<3.8)

     G_3d_v( i_WsGnuplot(-4,4,-4,4,-1,2),
             i_VGnuplot( 80.,38.,1.,1.),
             feq,f,f_z,
             i_point2d(n,0.));

printf(" Open the file \"a_main.plt\" with Gnuplot.\n\n"
       " Use the \"replot\" command of gnuplot.    \n\n"
       " Press return to continue.                 \n\n");

 getchar();

 return 0;
}

Le résultat.

Résultat dans gnuplot
Tangente35
Résultat dans gnuplot
Tangente35


Résultat dans gnuplot
Tangente35