Hi, sometimes when x is assumed as an integer, xcas is restarted.
Test example
assume(x, integer);
roots(x^3 - 13/5*i*x^2 - 8*x^2 + 29/5*i*x + 81/5*x + 6*i - 18/5,x); => [[3,1]]
purge(x);
roots(x^3 - 13/5*i*x^2 - 8*x^2 + 29/5*i*x + 81/5*x + 6*i - 18/5,x); => [[3,1],[5+3*i,1],[(-2*i)/5,1]]
Another case
roots(a*x^2 + b*x + c)
f(x) := 5*x - 3; solve(f(y)=0)
Problem with roots cmd
Modérateur : xcasadmin
-
- Messages : 562
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Problem with roots cmd
Dernière modification par compsystems le sam. sept. 22, 2018 3:21 pm, modifié 1 fois.
Re: Problem with roots cmd
Everything works fine here, what do you mean by xcas is restarted?