anonymous
  • 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.
MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

anonymous
  • anonymous
The value guess = sqrt(x) is a fixed point of (average guess (/ x guess))) since x/sqrt(x) = sqrt(x).
anonymous
  • 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.

Looking for something else?

Not the answer you are looking for? Search for more explanations.