Jump to content

# Square root calculation?

## Recommended Posts

I googled it and found how to find the sqr rt without a calculator in order to add sqr rt to my calculator but I don't understand. Can anyone explain me or post a sample script?

Sqrt (9) ;3

#### Share this post

##### Share on other sites

If you are wondering what is going on behind the scenes of Sqrt() see here:

http://en.wikipedia.org/wiki/Methods_of_co...ng_square_roots

#### Share this post

##### Share on other sites

Oh my god lol, I didn't know there's such a command. Thank you.

#### Share this post

##### Share on other sites

Oh my god lol, I didn't know there's such a command. Thank you.

I know, they really should document it in the Math section of the help file...

http://www.autoitscript.com/autoit3/docs/functions/Sqrt.htm

#### Share this post

##### Share on other sites

Keep in mind that square roots are really just fractional exponents:

9^(1/2) = Sqrt(9) = 3

```ConsoleWrite(Sqrt(9) & '=' & 9^(1/2)&@LF)oÝ÷ ØZ+¶»¶è¢Ü¨»
.×h×o5ÿ```

I personally don't use the Sqrt function for this reason.

- The Kandie Man ;-)

"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account

## Sign in

Already have an account? Sign in here.

Sign In Now

×

• Wiki

• Back

• Git