Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/core/open_close_dbase_connection.php on line 0

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/ASIC-implementation-of-square-root-processor/index.php(0) : eval()'d code on line 22

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/ASIC-implementation-of-square-root-processor/index.php(0) : eval()'d code on line 35

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/get_ad_type_position.php on line 0

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/load_ads.php on line 0

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/sponsor_found.php on line 0

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/load_links.php on line 0

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/ASIC-implementation-of-square-root-processor/index.php(0) : eval()'d code on line 161

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/ASIC-implementation-of-square-root-processor/index.php(0) : eval()'d code on line 164

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/ASIC-implementation-of-square-root-processor/index.php(0) : eval()'d code on line 167
two variable iterative method for square root
projectus.freehost7.com:UG and PG level projects,mini projects and many more here ...



 

 

 

Two-variable iterative method:

This method is applicable for finding the square root of and converges best for . This, however, is no real limitation for a computer based calculation, as in base 2 floating point and fixed point representations, it is trivial to multiply s by an integer power of 4, and therefore by the corresponding power of 2, by changing the exponent or by shifting, respectively. Therefore, one can move s to the range. Moreover, the following method does not employ general divisions, but only additions, subtractions, multiplications, and divisions by powers of two, which are again trivial to implement. A disadvantage of the method is that numerical errors accumulate, in contrast to single variable iterative methods such as the Babylonian one.

The initialization step of this method is

While the iterative steps read

 

Then,   (while ).

Note that the convergence of c_n \,\!, and therefore also of a_n \,\!, is quadratic.

The proof of the method is rather easy. First, we rewrite the iterative definition of c_n \,\!as

.

Then it is straightforward to prove by induction that

And therefore the convergence of a_n \,\!to the desired result is ensured by the convergence of c_n \,\!to 0, which in turn follows from.

Taylor Series:

If N is an approximation to, a better approximation can be found by using the Taylor series of the square root function: