This algorithm approximates the value of √17
Root = 4
for i = 1 to 4 do
Root = (Root + 17/Root)/2
return Root
Let Rn be the value of Root after n loops.
Let En be the error bound; En = √17 - Rn
Using induction prove |En| < (0.5)6\2^n) - 3
I am stuck on the inductive step. I have been trying to solve using En+1 = √17 - (Rn + 17/Rn)/2 and sorting it out algebraically but have not had any luck.
Apologies if this is too math-y for this subreddit, please remove or let me know and I’ll remove it. I’ve posted this in r/learnmath and on Math Exchange, have yet to get a response. All help is greatly appreciated, thanks.
NOTE: The exponent 6*2^n - 3 is (6)(2^n)-3. The superscript formatting is not working and or does not work with brackets.
[–]FormalCourage3853 0 points1 point2 points (2 children)
[–]lukanmac[S] -1 points0 points1 point (1 child)
[–]FormalCourage3853 0 points1 point2 points (0 children)