« Mathc initiation/Fichiers h : f 8 » : différence entre les versions
Contenu supprimé Contenu ajouté
modification mineur |
mAucun résumé des modifications |
||
Ligne 4 : | Ligne 4 : | ||
: |
: |
||
Dessiner la tangente |
Dessiner la tangente et la normale. |
||
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. |
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 |
reset |
||
# --------------------- |
# --------------------- |
||
Ligne 36 : | Ligne 38 : | ||
set zeroaxis lt 3 lw 1 |
set zeroaxis lt 3 lw 1 |
||
set grid |
set grid |
||
plot |
plot [ -3.:3.] [-2.:2.]\ |
||
cos(x),\ |
|||
-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 |
plot [ -10.:10.] [-5.:5.]\ |
||
x*sin(cos(x)),\ |
|||
-0.207*x +0.722,\ |
|||
4.826*x -4.312 |
|||
reset |
reset |
||
# --------------------- |
# --------------------- |
Version du 10 janvier 2023 à 23:48
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
# ---------------------