Post Reply 
Evaluate expression with HP50g
06-23-2017, 11:59 PM
Post: #7
RE: Evaluate expression with HP50g
To save keystrokes, I often "cheat" and use the "lim" command like this:

1) Put any expression in 'X' on the stack. MUST be 'X' (or whatever your current independent variable is; press MODE CAS, see top line).
2) Put the desired value for X on the stack.
3) Execute lim (shortcut: left-shift 4, LIMIT, lim)

All the X's will be replaced by the number, and the expression evaluated.

If you want to substitute several values, put them in a list, and all will be handled at once. Example:

'3*X^2-4*X-5'
{6 7 8}
lim
--> { 79 114 155 }
... that's what the polynomial evaluates to when 6, 7, and 8 are substituted into 'X'.

It's not what lim was intended to be used for, but I find it's more keystroke efficient than other ways of substituting values into X.

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


Messages In This Thread
RE: Evaluate expression with HP50g - Joe Horn - 06-23-2017 11:59 PM



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