Post Reply 
Programming Exercise (HP-15C, 15C LE - and others)
03-21-2014, 07:09 PM (This post was last modified: 03-21-2014 07:17 PM by Gerson W. Barbosa.)
Post: #12
RE: Programming Exercise (HP-15C, 15C LE - and others)
(03-21-2014 06:28 PM)Thomas Klemm Wrote:  
(03-21-2014 03:53 PM)Shawn Gibson Wrote:  I also "ported" Daves 20S program to my 34S:
(...)
On the WP34S it ran in 27 seconds.

This might be a little faster:
Code:
LBL'SRS'
0
RCL Y
EVEN?
+/-
1/x
+
DSZ Y
BACK 006
END

Cheers
Thomas

22.2 seconds.

A slight modification will drop this to 20.4 s:

Code:
LBL'SRS'
0
RCL Y
(-1)ˣ
RCL/ Z
+
DSZ Y
BACK 005
+/-
END

Cheers,

Gerson.
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) - Gerson W. Barbosa - 03-21-2014 07:09 PM



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