Accueil › Forums › Programmation WIMS › Programmation d’exercices OEF › comportement de maxima › Répondre à : comportement de maxima
3 décembre 2017 à 12:06
#4177
Maître des clés
::
The question is that the behaviour is not the same if there is no variable
b:map(‘float,(exp(0.2)));
gives an error.
(%i6) b:map(‘float,(exp(0.2)));
map: improper argument: 1.22140275816017
— an error. To debug this try: debugmode(true);
And also, in fact in the other case, the x disappears !
(%i3) b:map(‘float,(exp(0.2*x)));
0.2 x
(%o3) 2.718281828459045
(%i5) b:map(‘float,(exp(0.2*x)*exp(1/2)));
0.2 x + 0.5
(%o5) 2.718281828459045
I would like not to have to test too much !
Bernadette