[Coco] Invent a new way to calculate Pi
gene heskett
gheskett at shentel.net
Mon Sep 18 12:26:02 EDT 2023
On 9/18/23 09:36, John Mark Mobley via Coco wrote:
> I have an idea for a programming chainage...
>
> I have a strange idea that I can use a crude value of Pi to calculate a
> better value of Pi. And you can repeat this process a number of times until
> you get a much better value of Pi.
>
> I found that I can use the Pythagorean theorem to calculate Pi to a few
> places like 3 or 6 places with only perhaps 10,000 triangles. I know that
> there are better ways to calculate Pi, but this is a way that I actually
> understand how it works.
>
> Enjoy!
>
> -John Mark Mobley
> Glenside Color Computer Club, Inc. Vice-President
>
Chuckle, BTDT, John. Somewhere in our Rainbow history is an article on
machine code that calculates pi to 500 places. How accurate however,
wasn't mentioned that I recall nearly 40 years later.
>
>
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>
More information about the Coco
mailing list