Calculating e^x1 on classic HPs

01132016, 06:43 PM
(This post was last modified: 01132016 06:57 PM by Dieter.)
Post: #11




RE: Calculating e^x1 on classic HPs
(01132016 03:46 PM)Gerson W. Barbosa Wrote: Just tested it on the HP12C. I've tried an hyperbolic function approach on the HP15C using the identity Ah, that's the inverse of the method I suggested for ln(1+x) in 2014, cf. this thread. (01132016 03:46 PM)Gerson W. Barbosa Wrote: However this will require two additional steps to handle x=0. Also, for x > 3 the results start to lose accuracy as tanh(x/2) approaches 1. Accuracy problems have also been addressed in the mentioned 2014 thread. That's why back then I suggested another ln(1+x) method using sinh. On the other hand a dedicated e^{x}–1 function is only required for ln 0,9 < x < ln 2, and here your method works fine. One might add two additional tests to check whether the argument is within these bounds or not. Which again makes the method less elegant... Dieter 

« Next Oldest  Next Newest »

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