I need an algorithm that will solve for the cube root or the nth root of a number. I can do it, but it requires quite a bit of looping and incrementing. This is very time consuming. Is there an easier way?
Hedgehog
To get the nth root:
number ^ (1 / n)
the n-th root of a number x is simply x^(1/n)
Quote:the n-th root of a number x is simply x^(1/n)
Bahaha! I beat you!
What do guys think of ninkazu's avatar? :*)
Quote:What do guys think of ninkazu's avatar? :*)
fag
Quote:relsoft Wrote:What do guys think of ninkazu's avatar? :*)
fag
Hey...