symbolic results in CAS
11-05-2015, 04:49 PM
Post: #1
 epp Junior Member Posts: 23 Joined: Oct 2015
symbolic results in CAS
In CAS I can invoke Toolbox > Algebra > Factor as follows:

factor(x^4 - 1) --> (x-1)*(x+1)*(x^2+1)

So far so good. Now, if I store 2 into variable "x" and invoke factor again we have

factor(x^4 - 1) --> 15

In other words, if I have used a variable I can no longer obtain symbolic results with that variable. How do I mark a variable unused so it can be used for symbolic calculations?
11-05-2015, 05:27 PM
Post: #2
 Vtile Senior Member Posts: 384 Joined: Oct 2015
RE: symbolic results in CAS
I don't own PRIME, but in HP world 'Purge' is what is seems to be often used to get rid of variables. Here is one google result with Purge, HP Prime and some other words I did throw in

If this is not what you were after ask more.
11-05-2015, 05:28 PM
Post: #3
 Tim Wessman Senior Member Posts: 2,225 Joined: Dec 2013
RE: symbolic results in CAS
if you want to clear the cas back to "Default", you can run the command "restart". Note this will wipe all cas variables and reset everything CAS related.

purge(x) will delete that one item by name. You can also press the VARS key, tap on "CAS", then find your x in the chooser and press the BKSP key. That will delete it through the UI.

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
11-06-2015, 12:27 AM
Post: #4
 Joe Horn Senior Member Posts: 1,590 Joined: Dec 2013
RE: symbolic results in CAS
(11-05-2015 04:49 PM)epp Wrote:  How do I mark a variable unused so it can be used for symbolic calculations?

Instead of purging it, you can also enclose the expression in single quotes, which prevents the variables from being evaluated. Follow this history from the top down, noticing the single quote marks in one of the inputs:

<0|ΙΈ|0>
-Joe-
 « Next Oldest | Next Newest »

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