Factoring in CAS

11162023, 07:08 PM
Post: #1




Factoring in CAS
Just learning to use the calculator but I keep being disappointed with what the help button or the user's manual says should happen and what actually happens. The latest problem concerns simple factoring of a polynomial. Both the user manual and the help button say that in CAS mode for factor(x^41) I should get as an answer (x1)*(x+2)*(x^2+1). What I actually get is a message that says "Run ifactor(1) for integer factorization". Hitting Enter again shows the input function and an answer of 1. If I use the ifactor function from the Integer menu I get as an answer 1.
Using my own example x^2+5*x+6 knowing the factors are (x+2)*(x+3) I get the same message but with "ifactor(6)" in it and an answer of 6. If I run the ifactor function the answer is given as 2*3. This is very different from what I'm led to expect. Does anyone else have these same problems? 

11172023, 03:21 AM
Post: #2




RE: Factoring in CAS
.
Hi, Can't answer your question as I'd never consider buying a Prime, but there's an error in what you say, I quote:
V. All My Articles & other Materials here: Valentin Albillo's HP Collection 

11172023, 03:30 AM
Post: #3




RE: Factoring in CAS
It sounds like you may have a value stored in the x variable, so when you factor, the CAS plugs that in first and then complains that it isn't a polynomial.
If you press the [Vars] key, then the "CAS" softmenu key at the bottom of the screen, Then "All", it will show a list of variables you've assigned. You can either hit the backspace/delete key with x selected in that menu, or run the command purge(x) to remove the assignment. Alternatively, if you want to keep what you have stored in x, you could run the factor command with another variable. 

11172023, 09:42 PM
Post: #4




RE: Factoring in CAS
Correct you are Valentin. That was a misprint.
Brian, there is no soft CAS key at the bottom of the screen when I hit the Vars key. 

11172023, 09:47 PM
Post: #5




RE: Factoring in CAS
Brian,
I used "b" as a variable and sure enough the correct answer appears. Thanks a million. It looks like I do have a value stored in "x". All I have to do is find what I have stored in the various variables and clear them. Thanks, Kurt Tate 

11172023, 10:15 PM
Post: #6




RE: Factoring in CAS
When I try to "purge(x)" I get the message "No such variable x".
But if I try to use x as a variable in a function it acts as if x=0. 

11172023, 11:16 PM
(This post was last modified: 11172023 11:16 PM by cdmackay.)
Post: #7




RE: Factoring in CAS
see a similar answer of mine here, which might help:
https://www.hpmuseum.org/forum/thread20...#pid180423 Cambridge, UK 41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot/C47 Casio, Rockwell 18R 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)