i know its a bit of a wierd question but you people are very knowledgable, does any1 know how to figure out the squre root of a number?

Printable View

- 03-08-2003krappykoderSqrt()
i know its a bit of a wierd question but you people are very knowledgable, does any1 know how to figure out the squre root of a number?

- 03-08-2003frenchfry164
include cmath

use sqrt() - 03-08-2003krappykoder
remind me agen, how can i extract sums from libs?

- 03-08-2003krappykoder
Scratch that: sqrt=pow(number,0.5)

i need to write a power function now :confused: - 03-08-2003Hammer
>>i need to write a power function now

Then search the boards, there's sample code out there. Or simply write your own. - 03-08-2003TechWins
Does anyone here actually know the precise formula to find the square root of a number? I'm not neccessarily looking to find out how to do it (I could easily find the answer myself), but to see if someone knows the formula for it. My math teahcer said she used to know, but she hasn't used it in so long that she forgot what it is.

- 03-08-2003Davros
- 03-08-2003TechWins
Davros, I don't particularly care to know the formula myself, yet to see if someone had the formula memorized themself.

- 03-08-2003LouDuRe: Sqrt()Quote:

*Originally posted by krappykoder*

**i know its a bit of a wierd question but you people are very knowledgable, does any1 know how to figure out the squre root of a number?**

0=0

1=1

2=4

3=9

4=16

5=25

6=36

7=49

8=64

9=81

10=100

11=121

12=144

i know up to 15 but i jsut forgot them :) - 03-08-2003XSquaredRe: Re: Sqrt()Quote:

*Originally posted by LouDu*

**you find the square root of a number by mulptliging a number by it self**

- 03-08-2003abregeRe: Re: Sqrt()Quote:

*Originally posted by LouDu*

**you find the square root of a number by mulptliging a number by it self, the perfect quares in math are as fallows**

- 03-09-2003XSquaredRe: Re: Re: Sqrt()Quote:

*Originally posted by abrege*

**Wow, and to think we were baffled all this time!**

Do I detect a bit of sarcasm? - 03-09-2003frenchfry164Quote:

you find the square root of a number by mulptliging a number by it self, the perfect quares in math are as fallows

- 03-09-2003BajanineHere is how we learned it!
This is taught to first year plumber and pipefitter appretices which is also how I was taught in school. It is rather convoluted though:

http://mathforum.org/library/drmath/view/52610.html

[edit]

typo's again

[\edit] - 03-09-2003krappykoder
I dont know what convoluded means but it sure it complicated