HP50g simplifing a root
|
10-01-2020, 05:22 PM
Post: #8
|
|||
|
|||
RE: HP50g simplifing a root
Timings suggest it may be faster to solve the cubic, than factoring for divisors.
Again, we assumed n, m, k all integers. Code: find_cbrt(n,m,k):= { XCas> find_cbrt(300940299, 103940300, 101) → \(99 + 100 \sqrt{101}\) If simplified form search failed, it returned the cube root as-is. XCas> find_cbrt(300940299, 103940300, 102) → \(\left(300940299 + 103940300\cdot \sqrt{102}\right)^{\frac{1}{3}}\) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)