results ti-mode

Messages in english

Modérateur : xcasadmin

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

results ti-mode

Message par compsystems » dim. sept. 17, 2017 1:43 pm

Hello

Between ti-mode and Xcas results are not the same.

Examples

TIMODE
1:
abs(2-3*i)
abs(2-3*i)

XCAS MODE
1:
abs(2-3*i)
sqrt(13)

Image


I found a small problem

- when I re-run the worksheet, changing the xcas_mode(3) to xcas_mode(0) (line#2) the complex unit is replaced by i_i_

- the imaginary unit is being replaced by the inverted question mark (¡)
cFactor(a^3*x^2+a*x^2+a^3+a)
a*(a+¡)*(a-¡)*(x+¡)*(x-¡)
a*(a+i)*(a-i)*(x+i)*(x-i)

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

Re: results ti-mode

Message par parisse » lun. sept. 18, 2017 5:17 am

You must use the special TI i for complex in TI mode

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

Re: results ti-mode

Message par compsystems » lun. sept. 18, 2017 11:04 am

in ti68k calcs the imaginary unit is the character number 151, in ti-mode (Xcas) the imaginary unit is the character number 161, (¡), it is interesting to use this symbol (inverted exclamation), since it leaves free the letter i for store data, I would like to see that Xcas added an option for the user to choose the imaginary unit, as does the classpad300/400

for example i, j, ¡ (inverted exclamation)

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

Re: results ti-mode

Message par parisse » lun. sept. 18, 2017 11:43 am

Just type sqrt(-1) to get the right complex i.
Don't use i, the parser can sometimes detect that i is not sqrt(-1) ... but it's safer to use j or k as index variables in loops.

Répondre