assume() cmd

Messages in english

Modérateur : xcasadmin

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

assume() cmd

Message par compsystems » mer. sept. 26, 2018 2:37 am

Hello, please adhere assume(x, complex); to get only the complex roots

example
assume(x, complex);
proot(x^3-x^2+x-1) => [i,-i]

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

Re: assume() cmd

Message par parisse » mer. sept. 26, 2018 4:21 am

Do you realize that what you are asking is wrong mathematically speaking? The set of real numbers is a subset of the set of complex numbers.
Please, stop posting that many threads, you are loosing your time and my time...

Répondre