Natural logarithm of 2 [HP-15C/HP-42S/Free42 & others]
|
11-09-2019, 05:27 PM
Post: #16
|
|||
|
|||
RE: Natural logarithm of 2 [HP-15C/HP-42S/Free42 & others]
(11-08-2019 03:18 PM)Albert Chan Wrote: Using Pi and AGM to get log(2): see http://rnc7.loria.fr/brent_invited.pdf, page 32 Interesting, even though it requires \(\pi\). Because I’m lazy I’ll take the wp34s for this one: 001 LBL A 002 # π 003 RCL Y 004 # 002 005 - 006 # 1/2 007 STO+ X 008 DSE Y 009 BACK 002 010 STO* Z 011 STO+ X 012 INC Y 013 AGM 014 RCL* T 015 / 016 END 20 A -> 0.6931471805622850 2 LN - -> 2.33975581274e-12 40 A 2 LN - -> 2.210713576e-24 62 A 2 LN - -> 0 2^x would’ve saved a few steps, but I want to avoid the use of logarithms in the program. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)