In this article, we have explained three different algorithms to find the N-th root of a number.
Contents
using Binary Searchusing Logusing Newton's methodPre-requisites
cube-root using binary-search
Conventions
Let's decide on some convention first,
we will take some number to calculate nth root on, we'll call it N and since,
then, we have to calculate nth root let that nth be n.
and also let's consider x will be our result.
Pre-Discussion
If you have read the cube-root using binary-se...
Published on February 14, 2022 10:21