Post Reply 
reserved variables
10-08-2018, 09:46 PM (This post was last modified: 10-31-2018 02:05 PM by compsystems.)
Post: #1
reserved variables
Hi, when trying to store a invalid object on the reserved variables, it should show an error message, plus there should also be a menu to be able to copy and paste the reserved variables

fsolve( θ=10*sin(θ), θ, [5,7.5], bisection_solver) => [7.06817433238,7.06817440689]

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


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



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

Visit this user's website Find all posts by this user
Quote this message in a reply
10-20-2018, 01:15 PM (This post was last modified: 10-31-2018 02:15 PM by compsystems.)
Post: #3
RE: reserved variables
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

PHP Code:
with_sqrt(0):; factor((5*s^2+32*s+45)/(s^3+6*s^2+9*s)) 
"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
Post Reply 

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