Post Reply 
CAS SETTINGS: full reserved variables
10-08-2018, 09:46 PM (This post was last modified: 04-19-2021 07:48 PM by compsystems.)
Post: #1
CAS SETTINGS: full reserved variables
Hi, other variables that are not documented or do not appear in the hp-prime catalog. Please hpteam to include them in future updates

list of internal variables: {approx_mode, complex_variables, complex_mode, all_trig_solutions, angle_radian, with_sqrt, increasing_power, bisection_solver, newtonj_solver}, etc.

bisection_solver:="hello"; // do not allow, when trying to store a invalid object on the reserved variables, it should show an error message

approx_mode:=1;

approx_mode:="hello"; // do not allow

complex_variables:=0;

complex_mode:=0;

example of use of the flags (internal variables), to show in the history different results or forms, for this reason it is important to include (next firmware) these internal variables that in some cases act as commands

xcas
PHP Code:
with_sqrt(0):; factor((5*s^2+32*s+45)/(s^3+6*s^2+9*s)) 
returns 
"Done", (5*s^2+32*s+45)/(s*(s+3)^2)


with_sqrt(1):; factor((5*s^2+32*s+45)/(s^3+6*s^2+9*s)) returns 
"Done", (s+((31)+16)/5)*(5*s-((31))+16)/(s*(s+3)^2
Find all posts by this user
Quote this message in a reply
10-08-2018, 11:17 PM
Post: #2
RE: reserved variables
If such a list were made, it would be very helpful to also distinguish between the ones which can only be used in CAS mode, as well as the built-in named constants (e.g. title which always seems to be equal to 15).

<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)