Programming Pi

 BBS: Inland Empire Archive
Date: 05-03-92 (13:29)             Number: 152
From: ANDY KIDLE                   Refer#: NONE
  To: ALL                           Recvd: NO  
Subj: Programming Pi                 Conf: (2) Quik_Bas
I need some help with a simple computer program (or what should be
simple for a semi-experienced programmer.)  I need to program two
infinite mathematical series for finding pi.  I have access to BASIC and
QUICKC for programming.  Here are the two series,
so if you can help, let me know:

pi = 4(1 - 1/3 + 1/5 - 1/7 + 1/9 - 1/11 +......)

I'll have to write out the second one since their are no keys to
represent exponents and square roots:

pi = 2 times the square root of 3 times the infinite set: (1) minus (1
over 3 times 3) plus (1 over 3 squared times 5) minus (1 over 3 cubed
times seven) plus.....

I know the second series is hard to interpret, the descriptions in the
parenthesis represent one number group.  If you need better
descriptions or anything else, let me know and I'll do all I can to
provide the missing information.  Thanks a billion to anyone
who can help.


--- WM v2.01 [Eval]/89-0330
 * Origin: Chelsea Wildcat <313> 475-1754 (1:2200/109)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET