Cube root [HP-35]
|
03-11-2020, 03:05 AM
(This post was last modified: 03-11-2020 03:07 AM by Gerson W. Barbosa.)
Post: #12
|
|||
|
|||
RE: Cube root [HP-35]
just a proof of concept on the hp 33s to reduce the number of iterations in this variation of Juan’s algorithm. Line D0013 should be replaced by a short routine to compute ln(x) on the HP-16C, where this might make some sense.
Code:
27 XEQ C -> 3 1E50 XEQ C -> 4.64158883316E16 1E50 ³√x -> 4.64158883316E16 Algorithm: r₀ = √x r₁ = √(x/r₀) r₂ = √(x/r₁) ... rn = √(x/rn-1) a = rn b = rn-1 ³√x ~ {a[2 - 1/(2ⁿ⁺¹/lnx + 5/18)] + b}/[3 - 1/(2ⁿ⁺¹/lnx + 5/18)] |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)