Nth root algorithm: Difference between revisions

Content deleted Content added
No edit summary
Reverted good faith edits by 194.63.239.231 (talk): Why? (TW)
Line 9:
There is a very fast-[[Limit of a sequence|converging]] ''' ''n''th root algorithm''' for finding <math>\sqrt[n]{A}</math>:
#Make an initial guess <math>x_0</math>
#Set <math>x_{k+1} = \frac{1}{n} \left[{(n-1)x_k +\frac{A}{x_k^{n-1}}}\right]</math>. In practice we do <math> \Delta x_k = \frac{1}{n} \left[{\frac{A}{x_k^{n-1}}} - x_k\right]; x_{k+1} = x_{k} + \Delta x_k </math>.
#Repeat step 2 until the desired precision is reached, i.e. <math> | \Delta x_k | < \epsilon</math> .