Post Reply 
Calculating e^x-1 on classic HPs
01-15-2016, 06:07 PM (This post was last modified: 01-15-2016 06:09 PM by Gerson W. Barbosa.)
Post: #30
RE: Calculating e^x-1 on classic HPs
(01-15-2016 10:10 AM)matthiaspaul Wrote:  
(01-14-2016 09:55 PM)Dieter Wrote:  Edit: seems to be chapter 1.14.1 of this book.
See also:
http://ftp.demec.ufpr.br/CFD/bibliografi...rithms.pdf

Isn't this book Copyright 2002? (Oh, let's forget about that...)

HP-12C, second algorithm:

Code:

01- x=0
02- GTO 00
03- ENTER
04- e^x
05- 1
06- CHS 
07- x<>y 
08- + 
09- LSTx
10- LN
11- /
12- *
13- GTO 00

I'm currently running this on an ordinary 12C and Dieter's program on a 12C+, so I cannot compare speeds, but Dieter's should be slightly faster because it requires no tests.

Gerson.

P.S.: Thanks for the link! UFPR is just a walking distance from my place.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Calculating e^x-1 on classic HPs - Dieter - 01-11-2016, 10:20 PM
RE: Calculating e^x-1 on classic HPs - Gerson W. Barbosa - 01-15-2016 06:07 PM



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