All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Algorithms
Root Route (Posted on 2004-06-29) Difficulty: 3 of 5
Develop an efficient algorithm to find the square root of a positive real number.

No Solution Yet Submitted by Gamer    
Rating: 1.7500 (4 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution i t e r a t e | Comment 3 of 7 |
Take as a 1st value x=N/2
iterate by making a new x= average of old x and N divided by old x

example : N=100
X= 50

X=1/2(10.8+100/10.8)=10.03 ETC

  Posted by Ady TZIDON on 2004-06-29 09:32:21
Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (1)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2019 by Animus Pactum Consulting. All rights reserved. Privacy Information