Post Reply 
[VA] SRC#004- Fun with Sexagesimal Trigs
02-14-2019, 03:33 AM
Post: #13
RE: [VA] SRC#004- Fun with Sexagesimal Trigs
Solutions with RPL. These programs are designed to not be flexible. Only to solve the problem.

Code:
Spoilers for A









<<
DEG 
1 29 FOR j 3 SQRT j TAN + NEXT 
1 28 START + NEXT
>>
Answer: 58.1827673706

Code:
Spoilers for B









<<
DEG 45 1 -> C
<<
DO DUP 2 + 1 'C' STO+ UNTIL DUP 133 == END
C ->LIST DUP 1 ADD SIN SWAP SIN * INV OBJ-> 2 SWAP
START + NEXT
>>
>>
Answer: 57.298688498

Code:
Spoilers for C









<<
DEG
1 59 FOR j j 60 + COS j COS / 1 SWAP - NEXT
1 58 START * NEXT
>>
Answer: 0.999999999989

Code:
Spoilers for D









<<
DEG
1 44 FOR j 1 j TAN INV - NEXT
1 43 START * NEXT
>>
Answer: 4,194,303.99961

Code:
Spoilers for E









<<
DEG
2 25 FOR j 2 j ^ COS 2 * LASTARG DROP INV - NEXT
1 23 START * NEXT
>>
Answer: -0.999999999966

Fun programming.
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 - Carsen - 02-14-2019 03:33 AM



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