25.8k views
1 vote
g The "divide" and "average" method, and old-time method for approximating the square root of any positive number aa, can be formulated as

User VladutZzZ
by
3.5k points

1 Answer

11 votes

The "divide" and "average" method, and old-time method for approximating the square root of any positive number, can be formulated as


x=((x+a/x))/(2)

where


a is the number whose square root we need to find.

Estimate the error in approximation as


\varepsilon =\left | (x_(new)-x_(old))/(x_new) \right |

Repeat this loop until this
\varepsilon is less than or equal to the specified value.

User Ferdane
by
4.6k points