expr(DOM_INT); => 2

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 561
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

expr(DOM_INT); => 2

Message par compsystems » jeu. nov. 29, 2018 8:07 pm

autosimplify(2);
expr(integer); returns expr(2);

Why does not returns 2?

expr(integer); => 2

parisse
Messages : 5739
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: expr(DOM_INT); => 2

Message par parisse » ven. nov. 30, 2018 5:46 pm

expr expects a string (or 2 args like expr(sin,x), cf. example)

compsystems
Messages : 561
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: expr(DOM_INT); => 2

Message par compsystems » ven. nov. 30, 2018 9:08 pm

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

parisse
Messages : 5739
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: expr(DOM_INT); => 2

Message par parisse » sam. déc. 01, 2018 7:03 am

That's your opinion, not mine!

compsystems
Messages : 561
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: expr(DOM_INT); => 2

Message par compsystems » dim. déc. 02, 2018 12:46 pm

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

parisse
Messages : 5739
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: expr(DOM_INT); => 2

Message par parisse » dim. déc. 02, 2018 3:33 pm

Can you give me an example where you need the numeric value of DOM_INT with your students?

Répondre