Integer Division Index   <<   >>

 

Newton Iteration: to find a root of f,

   {⍵-(f ⍵)÷(f D ⍵)}⍣≡ x0
 

To find the reciprocal of q, let f←{(÷⍵)-q}
and simplify, to get:

   F←{⍵×2-q×⍵}
 
For example:
   ⎕pp←18
   q←17
   F←{⍵×2-q×⍵}
   ⍪ (⍳8) {F⍣⍺⊢⍵}¨ 0.06
0.06                
0.0588              
0.05882352          
0.05882352941176319 
0.058823529411764705
0.058823529411764705
0.058823529411764705
0.058823529411764705

   ÷q
0.058823529411764705