| Thread Closed |
iteration |
Share Thread | Thread Tools |
| May7-05, 09:43 AM | #1 |
|
|
iteration
can any1 explain why this iteration:
Xn+1 = Xn(2 - NXn) can be used to find the reciprocal of N. I dont ned proof or to show that it does but i would like to know if sum1 can break it down and explain how it does it. |
| May7-05, 10:15 AM | #2 |
|
|
What is the fixed point of the iteration?
|
| May7-05, 11:00 AM | #3 |
|
|
ryan750,
To elaborate on Hurkyl's question, not all initial guesses lead to the correct answer. What condition do you have to put on X0, for the iteration to work? If you know how to use Excel, try writing a spread sheet that does this calculation, and then play around with different values for N and X0. You might see for yourself what makes this formula work. It's not too hard. |
| May7-05, 11:19 AM | #4 |
|
|
iteration |
| May7-05, 11:24 AM | #5 |
|
|
Xn+1 = Xn(2 - NXn)
=> (Xn+1)/Xn = 2 - NXn => NXn = 2 - (Xn+1)/Xn => NXn = (2Xn -Xn+1)/Xn => N = (2Xn - Xn+1)/(Xn)^2 => N ~= Xn/(Xn)^2 => N ~= 1/Xn Which is a good estimate for the recipricol. I found sum1 that could do it. i didn't think about just rearranging the formula. |
| Thread Closed |
| Thread Tools | |
Similar Threads for: iteration
|
||||
| Thread | Forum | Replies | ||
| Grover iteration | Advanced Physics Homework | 0 | ||
| Matlab iteration issue (I think :P) | Math & Science Software | 3 | ||
| Recursion vs. Iteration | Programming & Comp Sci | 6 | ||
| Technique of iteration | Calculus & Beyond Homework | 1 | ||
| Picard's Iteration | Differential Equations | 4 | ||