Ask your own question, for FREE!
MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005 7 Online
OpenStudy (anonymous):

Hi, How is finding the square root by successive averaging related to finding a fixed point? It's from the first video lecture, but I am finding it hard to understand.

OpenStudy (anonymous):

The value guess = sqrt(x) is a fixed point of (average guess (/ x guess))) since x/sqrt(x) = sqrt(x).

OpenStudy (anonymous):

Maybe it makes more sense this way: You want to find the square root of any number x. If you look at the function avg(guess, x/guess), you'll see that only if your guess=sqrt(x), does the function valuate as avg(guess, x/guess)=guess. So your parameter is "guess" and the value of the function is also "guess", which is the definition of a fixed point. Bottom line you were not looking for a fixed point, but for a function for which the fixed point is the thing you were looking for and that is the avg function above. Let me know if this was helpful to you.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!