CAS : issue with SQ( (x)^2 )
|
09-08-2015, 07:11 AM
Post: #1
|
|||
|
|||
CAS : issue with SQ( (x)^2 )
Hello,
In CAS mode I found that SQ((x)^2) gives x instead of ABS(x). This makes results wrong, for example if you draw this function : x-SQ((x)^2) you will see it's not zero for negatives numbers, but in CAS it result "0" ! Return exact symbolic result is checked in CAS settings. firmware revision 8151. |
|||
09-08-2015, 11:56 AM
Post: #2
|
|||
|
|||
RE: CAS : issue with SQ( (x)^2 )
Well, mine returns abs(x9), have you made an assume(x,...), purge(x) then can help.
Arno |
|||
09-08-2015, 02:11 PM
Post: #3
|
|||
|
|||
RE: CAS : issue with SQ( (x)^2 )
Hello Primer,
the issue here is with the cas settings. The USE i option must be disabled . Please, see the Parisse answer about that here: http://www.hpmuseum.org/forum/thread-4227.html Marcelo |
|||
09-08-2015, 06:10 PM
Post: #4
|
|||
|
|||
RE: CAS : issue with SQ( (x)^2 )
(09-08-2015 02:11 PM)Marcelo Vanti Wrote: Hello Primer, Indeed it works now. Please note that description is "use i to factor polynomial" but in fact, it's more globally "assume variables are complex". Thank you. Best Regards. |
|||
09-09-2015, 07:28 AM
Post: #5
|
|||
|
|||
RE: CAS : issue with SQ( (x)^2 )
No, it's different, Use i on the Prime it's what I call complex mode in Xcas, i.e. assume you work in C. Assumptions on variables is another setting called Complex on the Prime and Complex variables in Xcas. I'm not responsible for the Prime denomination...
I think the best settings configuration is to keep the default for both flags, and use assume(variable,complex) or use csolve/cfactor. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)