« Mathc initiation/Fichiers h : f 8 » : différence entre les versions

Un livre de Wikilivres.
Contenu supprimé Contenu ajouté
modification mineur
mAucun résumé des modifications
Ligne 4 : Ligne 4 :
:
:


Dessiner la tangente au point x = 1.
Dessiner la tangente et la normale.




Il suffit de calculer sa tangente et gnuplot peut l'afficher. Le calcul des équations se fera dans la deuxième partie du cours.
Le calcul des équations se fera dans la deuxième partie du cours.




Ligne 15 : Ligne 15 :
# Copy and past this file into the screen of gnuplot
# Copy and past this file into the screen of gnuplot
#
#
#
#
set size ratio -1
set zeroaxis lt 3 lw 1
set zeroaxis lt 3 lw 1
set grid
set grid
plot [-4.000:4.000] [-6.000:6.000]\
plot [ -4.:4.] [-7.:1.]\
3.0*x**2 - 2.0*x - 5.0 lt 7,\
3.0*x**2 - 2.0*x - 5.0,\
4.0*x -8.0 lt 8
4.000*x -8.000,\
-0.250*x -3.750
reset
reset
# ---------------------
# ---------------------
Ligne 36 : Ligne 38 :
set zeroaxis lt 3 lw 1
set zeroaxis lt 3 lw 1
set grid
set grid
plot [-7.000:7.000] [-2.000:2.000]\
plot [ -3.:3.] [-2.:2.]\
cos(x) lt 7,\
cos(x),\
-0.841471*x +1.3817730 lt 8
-0.479*x +1.1170,\
2.086*x -0.165
reset
reset
# ---------------------
# ---------------------
</syntaxhighlight>




Ligne 53 : Ligne 55 :
set zeroaxis lt 3 lw 1
set zeroaxis lt 3 lw 1
set grid
set grid
plot [0.000:4.000] [0.000:2.500]\
plot [ -10.:10.] [-5.:5.]\
sqrt(x) lt 7,\
x*sin(cos(x)),\
0.408248*x +0.612372 lt 8
-0.207*x +0.722,\
4.826*x -4.312
reset
reset
# ---------------------
# ---------------------

Version du 10 janvier 2023 à 23:48

Sommaire

Dessiner la tangente et la normale.


Le calcul des équations se fera dans la deuxième partie du cours.


Fichier de commande gnuplot :
# ---------------------
# Copy and past this file into the screen of gnuplot
#
# 
set size ratio -1
set zeroaxis lt 3 lw 1
set grid
plot [ -4.:4.] [-7.:1.]\
  3.0*x**2 - 2.0*x - 5.0,\
          4.000*x -8.000,\
         -0.250*x -3.750
reset
# ---------------------



Fichier de commande gnuplot :
# ---------------------
# Copy and past this file into the screen of gnuplot
#
#
set zeroaxis lt 3 lw 1
set grid
plot [ -3.:3.] [-2.:2.]\
                cos(x),\
      -0.479*x +1.1170,\
        2.086*x -0.165
reset
# ---------------------



 '''Fichier de commande gnuplot :'''
<syntaxhighlight lang="gnuplot">
# ---------------------
# Copy and past this file into the screen of gnuplot
#
#
set zeroaxis lt 3 lw 1
set grid
plot [ -10.:10.] [-5.:5.]\
        x*sin(cos(x)),\
      -0.207*x +0.722,\
       4.826*x -4.312
reset
# ---------------------