Computer Science Canada Finding the square root without the sqrt command |
Author: | basketball4ever [ Wed Apr 13, 2005 8:33 pm ] |
Post subject: | Finding the square root without the sqrt command |
is there a way??? |
Author: | Cervantes [ Wed Apr 13, 2005 8:44 pm ] | ||
Post subject: | |||
Yes.
|
Author: | Martin [ Wed Apr 13, 2005 8:48 pm ] |
Post subject: | |
Or, if you want to have a slightly more interesting answer, you could use a binomial expansion. http://mathworld.wolfram.com/BinomialSeries.html |
Author: | Delos [ Wed Apr 13, 2005 9:00 pm ] |
Post subject: | |
[cough] I posted up a method using Newton's Method a while back. Don't know if it's still around. As a note though, bugz gave me some strange but normal looking numbers that killed it :S. It still worked though! |