;Task: Implement the algorithm to compute the principal [[wp:Nth root|''n''th root]] \sqrt[n]A of a positive real number ''A'', as explained at the [[wp:Nth root algorithm|Wikipedia page]].