History of Mathematics
in India IIT Gandhinagar, home

Project Brahmagupta · problem 31

Rsine Drift

Āryabhaṭa builds a table of Rsines from differences alone. Divide the quadrant into pp equal parts, fix a radius RR, and let hh be the first tabular entry, that is Rsin⁡(90∘/p)R\sin(90^\circ/p) rounded to the nearest integer. Set

S0=0,Δ1=h,S_0=0,\qquad \Delta_1=h,

and

Sn=Sn−1+Δn,Δn+1=Δn−[Snh],S_n=S_{n-1}+\Delta_n,\qquad \Delta_{n+1}=\Delta_n-\left[\frac{S_n}{h}\right],

where [x][x] is the nearest integer to xx. The rule is exact in the limit but drifts under rounding, so the closing entry SpS_p need not equal RR.

Fix R=3438R=3438 and define the closing error E(p)=∣Sp−R∣E(p)=|S_p-R|. Find the least value of E(p)E(p) for 4≤p≤50004\le p\le5000.

Try it

Check an answer

Enter a number, or a decimal where the problem asks for one. Only a hash of the answer is kept on this page.

Problem 31 of Project Brahmagupta, published under the Creative Commons Attribution 4.0 licence. No solutions are published.