Post Reply 
[VA] SRC#004- Fun with Sexagesimal Trigs
02-12-2019, 09:50 AM (This post was last modified: 02-12-2019 09:50 AM by Gerson W. Barbosa.)
Post: #7
RE: [VA] SRC#004- Fun with Sexagesimal Trigs
(02-12-2019 08:05 AM)J-F Garnier Wrote:  The rounding error on SQR(3), accumulated on 29 successive iterations introduces a systematic bias.
We can reduce this effect by factoring SQR(3) and evaluating SQR(3)^29 directly:
>A=1 @ FOR I=1 TO 29 @ A=A*(1+TAN(I)/SQR(3)) @ NEXT I @ A=A*3^14*SQR(3) @ DISP A
536870912.002

This gives us more confidence in identifying it to a certain simple integer expression.

Right in between:

« 1 1 29
FOR i i DUP + SIN LASTARG COS 1 + / 3 √ + *
NEXT
»

EVAL ->

536870912.006
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [VA] SRC#004- Fun with Sexagesimal Trigs - Gerson W. Barbosa - 02-12-2019 09:50 AM



User(s) browsing this thread: 1 Guest(s)