[Math] the mathematical formula for Square Root

arithmetic

I wasn't at school when we were learning this, and I've forgot how to calculate a square root on paper using a formula?

Can anyone please help me? What is the formula?

I need this to write an algorithm for my college assignment home work. Thanks!

Best Answer

Let $ a \geq 0 $. If you want to find $ \sqrt{a} $, use the following iteration: \begin{align} x_{0} &:= a. \\ x_{n+1} &:= \frac{1}{2} \left( x_{n} + \frac{a}{x_{n}} \right). \end{align} Then $ \displaystyle \lim_{n \rightarrow \infty} x_{n} = \sqrt{a} $. This is an example of the Newton-Raphson method, applied to the function $ f(x) = x^{2} - a $. This particular iteration exhibits quadratic convergence, which means that the number of correct digits about doubles in size with each successive step. Hence, on an ordinary scientific calculator, one can obtain a good approximation after just a few steps.

Related Question