Post Reply 
Programming Exercise (HP-15C, 15C LE - and others)
04-04-2014, 07:35 AM
Post: #90
RE: Programming Exercise (HP-15C, 15C LE - and others)
How about a new classic? I made an attempt to try the two-term method on the 12C 30th Anniversary Edition:
Code:

01  0
02  STO 0
03  X<>Y
04  ENTER
05  ENTER
06  ENTER
07  1
08  -
09  *
10  1/x
11  ST+ 0
12  Rv
13  2
14  -
15  X=0?
16  GTO 18
17  GTO 04
18  RCL 0

10000 R/S yields 0.693097183
Time: 32 seconds

Not too bad for a super-charged old-timer. If only I could install an ARM chip in my head -- then perhaps it wouldn't be so hard to switch gears and think in terms of RPN coding again. I'm sure I've overlooked optimizations here, but I was just happy to get it pumping out reasonable answers.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Programming Exercise (HP-15C, 15C LE - and others) - DavidM - 04-04-2014 07:35 AM



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