Post Reply 
HP Prime: CAS Commands in Home Mode
12-21-2013, 05:54 AM
Post: #16
RE: HP Prime: CAS Commands in Home Mode
(12-21-2013 05:44 AM)Helge Gabert Wrote:  Yes, the second method works! The first one doesn't, though.

(And I know, the last try was non-sensical, but that was what Cyrille suggested).

Thanks for the tip with REPLACE! Of course, one needs to input the symbolic expression as a string, but that is OK.

The first one only works if the input is a string, and the initial variable you used is not defined -- so no global variables for sure. So and input of "X^2-1" won't work, but "x^2-1" will. Note the lower case x in the code. And also note that x defined in Home view is different from x defined in CAS view. (So you need to make sure to delete x from the memory browser as well as use: purge(x) in the CAS view.)

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime: CAS Commands in Home Mode - Han - 12-21-2013 05:54 AM



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