Page 1 sur 1

expr(DOM_INT); => 2

Publié : jeu. nov. 29, 2018 8:07 pm
par compsystems
autosimplify(2);
expr(integer); returns expr(2);

Why does not returns 2?

expr(integer); => 2

Re: expr(DOM_INT); => 2

Publié : ven. nov. 30, 2018 5:46 pm
par parisse
expr expects a string (or 2 args like expr(sin,x), cf. example)

Re: expr(DOM_INT); => 2

Publié : ven. nov. 30, 2018 9:08 pm
par compsystems
Mr. Bernard, pleasse add the option that if the entry in a number, or if it is a variable, returns the final value, for example, it serves to determine the value of the reserved variables, since eval, does not give the final value anymore be. eval(DOM_INT) => DOM_INT

expr(DOM_INT); => 2
the trick DOM_INT+0 => 2 is not so intuitive

Re: expr(DOM_INT); => 2

Publié : sam. déc. 01, 2018 7:03 am
par parisse
That's your opinion, not mine!

Re: expr(DOM_INT); => 2

Publié : dim. déc. 02, 2018 12:46 pm
par compsystems
It is not my point of view, it is the opinion of several students.

We use your software in engineering for the teaching of mathematics, not for technical or scientific calculation, for that this $ matlab, mathematica, maple

Re: expr(DOM_INT); => 2

Publié : dim. déc. 02, 2018 3:33 pm
par parisse
Can you give me an example where you need the numeric value of DOM_INT with your students?