- 58

- 0

I need an algorithm to calculate n

I found http://en.wikipedia.org/wiki/N-th_root_algorithm" [Broken], but it requires to calculate power in it, therefore I can't use it.

Newton's method:

[itex]x_{k+1} = \frac{1}{n} \left[{(n-1)x_k +\frac{A}{x_k^{n-1}}}\right][/itex]

So, I need another algorithm.

Can you please suggest one?

^{th}root or power of any given real number. "n" can be either integer or fractional, and is real.I found http://en.wikipedia.org/wiki/N-th_root_algorithm" [Broken], but it requires to calculate power in it, therefore I can't use it.

Newton's method:

[itex]x_{k+1} = \frac{1}{n} \left[{(n-1)x_k +\frac{A}{x_k^{n-1}}}\right][/itex]

So, I need another algorithm.

Can you please suggest one?

Last edited by a moderator: