Post Reply 
symbolic results in CAS
11-05-2015, 04:49 PM
Post: #1
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?
Visit this user's website Find all posts by this user
Quote this message in a reply
11-05-2015, 05:27 PM
Post: #2
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

http://www.hpmuseum.org/cgi-sys/cgiwrap/...ead=254251

If this is not what you were after ask more.
Find all posts by this user
Quote this message in a reply
11-05-2015, 05:28 PM
Post: #3
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 HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
11-06-2015, 12:27 AM
Post: #4
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:

[Image: quotex.png]

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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