Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2011-01-31 11:35:01

Leibgrangian
Guest

square root algorithm

Hi, is there any algorithm, other than the guess method, that can give me a exact (or approximate) answer to a square root?

I use google but I couldn't find anything.......

thx

#2 2011-01-31 12:01:19

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: square root algorithm

Hi Leibgrangian;

Welcome to the forum. That is a difficult question really. In Numerical Analysis guessing is quite common.

One way of guessing at is to divide the number into 2 piecet that are as close together as possible. For instance:

Now take the average of the two numbers.

This approximation will always greater than or equal to the square root of 30. In this case the square root of 2 is:

So the estimate is pretty good.

There are many other ways. What are you working on? If I knew that then I could advise you a bit better.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2011-02-01 02:03:08

soroban
Member
Registered: 2007-03-09
Posts: 452

Re: square root algorithm






. .


~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~



. .


. .




. .

.

Offline

#4 2011-02-01 04:18:35

leibgrangian
Guest

Re: square root algorithm

hi, thank you all for taking the time to reply. it has been extremely useful. i have never heard of these methods before!

#5 2011-02-01 07:31:24

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: square root algorithm

Hi;

There are more, plenty more.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#6 2011-02-01 23:59:28

Howardroark
Member
Registered: 2010-10-10
Posts: 382

Re: square root algorithm

Hi leibgrangian,

This one is simple..

http://en.wikipedia.org/wiki/Methods_of_computing_square_roots
Refer decimal(base 10)


I come from a civilization which has given the world the number 0..

Offline

Board footer

Powered by FluxBB