Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newton had a fun way to approximate general roots...
#23
(09-15-2022, 09:14 PM)Pete Wrote: I think I saw that formula when I was search around online. I couldn't use it, because I have not yet created a decimal power algorithm in my string math routines. For instance  input 2 as the root and 16 as the number: The equation 1 / 2 = .5. Raising x ^.5 is not in my routines yet.

I may need to find a method to calculate decimal powers soon, but that method would have to be based on */+-. No logs.

Thanks for posting this, as it is great for small numbers. Very efficient!

Pete

The formula comes from here: Quick Basic: Mathematische Funktionen

I entered the 16th root of base 2. The result is correct - of course, if you check it, you get the usual inaccuracy: 1.99... instead of 2.

[Image: n-te-Wurzel-2-2022-09-15.jpg]
Reply


Messages In This Thread
RE: Newton had a fun way to approximate general roots... - by Kernelpanic - 09-15-2022, 09:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  "I'm Having Fun." James D Jarvis 6 1,316 07-25-2023, 11:32 PM
Last Post: Kernelpanic
  New General Discussion Subforums admin 13 4,748 02-14-2023, 08:21 AM
Last Post: PhilOfPerth
  Fun with hardware acceleration. Pete 0 478 10-20-2022, 10:25 PM
Last Post: Pete
  Roots and powers playing nicely together... Pete 28 5,116 10-01-2022, 10:16 PM
Last Post: Kernelpanic
  Pascal's Triangle and nth roots. Pete 2 887 09-26-2022, 04:15 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)