Post Reply 
Can you calculate Pi using a Solver?
12-11-2019, 11:50 AM
Post: #13
RE: Can you calculate Pi using a Solver?
(12-09-2019 03:53 PM)Csaba Tizedes Wrote:  
Code:
120   LET T=    3 . 1 4 1 5 9 2 7      *(D/180)

WHAT?

Code:
120   LET T=3.1415927*(D/180)
130   LET A=2*N*SIN(T/2)
140   LET B=2*N*TAN(T/2)

155   IF A=B THEN GOTO 170

170 END

Err... this looks like a checking how precise the arithmetics of that computer...

It shows that both an inscribed and circumscribed polygon approach PI as the number of sides increases. I agree it was poorly named.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Can you calculate Pi using a Solver? - toml_12953 - 12-11-2019 11:50 AM



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