Algobox Et Fonction

Preview:

DESCRIPTION

Etude de fonction avec algobox ?

Citation preview

AlgoBox : sanstitre

Code de l'algorithme

1 VARIABLESVARIABLES2 x EST_DU_TYPE NOMBRE3 y EST_DU_TYPE NOMBRE4 DEBUT_ALGORITHMEDEBUT_ALGORITHME5 x PREND_LA_VALEUR -16 TANT_QUETANT_QUE (x!=2) FAIREFAIRE7 DEBUT_TANT_QUEDEBUT_TANT_QUE8 AFFICHER "Pour x="9 AFFICHER x10 y PREND_LA_VALEUR F1(x)11 AFFICHER " on a y="12 AFFICHER y13 x PREND_LA_VALEUR x+0.114 AFFICHER "\r"15 FIN_TANT_QUEFIN_TANT_QUE16 FIN_ALGORITHMEFIN_ALGORITHME17 18 Fonction numérique utilisée :19 F1(x)=2*x*x+4*x-5

Résultats

***Algorithme lancé***Pour x=-1 on a y=-7Pour x=-0.9 on a y=-6.98Pour x=-0.8 on a y=-6.92Pour x=-0.7 on a y=-6.82Pour x=-0.6 on a y=-6.68Pour x=-0.5 on a y=-6.5Pour x=-0.4 on a y=-6.28Pour x=-0.3 on a y=-6.02Pour x=-0.2 on a y=-5.72Pour x=-0.1 on a y=-5.38Pour x=0 on a y=-5Pour x=0.1 on a y=-4.58Pour x=0.2 on a y=-4.12Pour x=0.3 on a y=-3.62Pour x=0.4 on a y=-3.08Pour x=0.5 on a y=-2.5Pour x=0.6 on a y=-1.88Pour x=0.7 on a y=-1.22Pour x=0.8 on a y=-0.52Pour x=0.9 on a y=0.22Pour x=1 on a y=1Pour x=1.1 on a y=1.82Pour x=1.2 on a y=2.68Pour x=1.3 on a y=3.58Pour x=1.4 on a y=4.52Pour x=1.5 on a y=5.5Pour x=1.6 on a y=6.52Pour x=1.7 on a y=7.58Pour x=1.8 on a y=8.68Pour x=1.9 on a y=9.82***Algorithme terminé***

Généré par AlgoBox

Recommended