Looking for TVM formulas
|
04-04-2014, 07:49 AM
(This post was last modified: 04-04-2014 07:55 AM by Manolo Sobrino.)
Post: #19
|
|||
|
|||
RE: Looking for TVM formulas
Dieter,
I see, it seems that you are considering a "what do you really need?" approach as you already have an exp function after all. Yet the fun part about continued fractions is that, for instance for these exponentials, full expansions (there are several) are true for |z|< Inf, one just might converge faster than others. You could use a truncated continued fraction to perform calculations for every value, but the analytical determination of errors gets pretty technical. My mistake was in being too sloppy about the estimation of the bound. I tried the keisan Casio site and your code. Looks very nice. Actually the results work better than the calculator that I was using to test it can get. I get 11 digits for (-0.38, 0.38) approx with a 14 digit precision calc. I'll fire up Mathematica when I have a moment. Thank you! (Thomas suggestion is neat, just the definition of sinh gets you there for the whole range! I like it a lot. You only need a hard-coded sinh ) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)