Brand new to RPN, few questions on bits!
|
09-07-2014, 01:48 AM
Post: #5
|
|||
|
|||
RE: Brand new to RPN, few questions on bits!
(09-06-2014 06:52 PM)Kyburo Wrote: First question: A cool new feature I found on my casio is that I can enter in an equation including variables like x, and then at the end give the x value and let it perform the calculation. Good question! Of course, with modern calculators there are lots of ways to do this, but since you're specifically asking about RPN, I'll give you the way an old-school RPN purist would approach this, ever since the introduction of the HP-65 back in 1973: write a program. Something like this: Code:
Now, whenever you want to evaluate that expression (it's technically not an equation), you just put the x value in the X register and press "E"; the little program runs, and you get the value of the expression left in the X register. You can also use this as a subroutine in other programs, e.g. to produce a table of values or even graph the expression. For a lot of (repetitive) tasks, a short program is an easy solution - and this was probably the most common application of early programmable calculators like the HP-65, -55, etc. --- Les [http://www.lesbell.com.au] |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Brand new to RPN, few questions on bits! - Kyburo - 09-06-2014, 06:52 PM
RE: Brand new to RPN, few questions on bits! - Kyburo - 09-06-2014, 09:13 PM
RE: Brand new to RPN, few questions on bits! - Thomas Radtke - 09-06-2014, 09:21 PM
RE: Brand new to RPN, few questions on bits! - Jeff_Kearns - 09-07-2014, 01:42 AM
RE: Brand new to RPN, few questions on bits! - Les Bell - 09-07-2014 01:48 AM
RE: Brand new to RPN, few questions on bits! - Kyburo - 09-09-2014, 02:32 PM
RE: Brand new to RPN, few questions on bits! - Les Bell - 09-10-2014, 08:48 AM
RE: Brand new to RPN, few questions on bits! - ndzied1 - 09-09-2014, 05:35 PM
|
User(s) browsing this thread: 1 Guest(s)