Digit-by-digit calculation of square root

AI Thread Summary
The digit-by-digit calculation method for square roots involves determining the next digit by ensuring that the squared value of the current approximation plus the new digit remains less than the original number. The process starts with an initial number, a, and a known part of the square root, p. The difference between a and p squared is calculated as d, and a small value x/10 is added to p to refine the approximation. The goal is to find x such that the equation 20px + x^2 is less than or equal to 100d holds true. This method is detailed in George Crystal's Algebra, which provides additional insights into the calculation process.
Mathematics news on Phys.org
Let's call the initial number a. The part already determined form the square root is p.

The basic idea is like that: For each step, find the next digit such that the squared value (consisting of p plus the new digit) is smaller than a, but the same number with one more as next digit would (squared) give a value larger than a.
Now, how do we find this digit?

We already know that p^2<a and the difference d=a-p^2 can be calculated.
Now we add a small value x/10 to p. This gives (p+x/10)^2=p^2+2px/10+x^2/100 and should be a better approximation to the square root.

Therefore, we want to find an x with 2px/10+x^2/100 <= d.
To avoid decimal digits, shift everything by two places, which is equivalent to a multiplication of 100 on both sides:
20 p x + x^2 <= 100d.
100d is now called c.
x (20p+x) <= c
Which is the formula used by the wikipedia page to find the next digit. Does that help?
 
There is an explanation in George Crystal's(sp) Algebra(2 volumes), mine is in a box somewhere, but if you can find a copy it's in there.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...

Similar threads

Replies
2
Views
2K
Replies
7
Views
2K
Replies
3
Views
2K
Replies
3
Views
2K
Replies
18
Views
3K
Replies
16
Views
2K
Back
Top