dichotomie sur la ti 82
Posté : dim. 2 janv. 2011 14:53
bonjour je suis en 1eS , j'ai un problème avec la programmation pour la dichotomie sur la ti 82 , la programmation en elle même me pose déjà quelques problèmes , pourriez vous me dire ce qui ne va pas dans ma programmation s'il vous plait :
Input"A-pour-f(a)<0",A
Input"B-pour-f(b)>0",B
x->c
c=(A+B)/2
Lbl1
c=(c+B)/2
lbl2
c=(A+C)/2
Y1->F(C)
if F(C)<0
then
goto1
else
if f(c)>0
then
goto2
else f(c)=0
End
Disp"C=",C
Input"A-pour-f(a)<0",A
Input"B-pour-f(b)>0",B
x->c
c=(A+B)/2
Lbl1
c=(c+B)/2
lbl2
c=(A+C)/2
Y1->F(C)
if F(C)<0
then
goto1
else
if f(c)>0
then
goto2
else f(c)=0
End
Disp"C=",C