How do you find the square root of 193?
1 Answer
We can find approximations to it using a Newton Raphson method.
Explanation:
We can find approximations to it using a kind of Newton Raphson method.
Given a number
ai+1=a2i+n2ai
I like to reformulate this slightly using integers
pi+1=p2i+nq2i
qi+1=2piqi
If the resulting
Let
Then:
p1=p20+nq20=142+193⋅12=196+193=389
q1=2p0q0=2⋅14+1=28
If we stopped here then we would have:
√193≈38928=13.89¯¯¯¯¯¯¯¯¯¯¯¯285714
Next iteration:
p2=p21=nq21=3892+193⋅282=151321+151312=302633
q2=2p1q1=2⋅389⋅28=21784
So:
√193≈30263321784≈13.892444
Actually:
√193≈13.8924439894498
but as you can see this method converges quite rapidly.