Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

how to compute pi by using continued fraction?



Hello:
    I'm a student of City College of San Francisco. Right now, I have a
project that I've been working on at least 4 days. Yet I still have no
idea at all.
    The purpose of the project is to compute pi by using continued
fraction. Here is the formula.

pi = 3 + ( 1 / ( 7 + ( 1 / ( 7 + ( 1 / ( .... 1 / 7)

that means
                     1
pi = 3 + -----------
               7 + /   1               \
                    (   ------            )
                     \   7 +            /
                           .......
                                   1
                             +   ----
                                    7


Is here any one who has a program that can follow the above formula and
can generate pi?

Jing S. Chen
e-mail: jchen06@hills.ccsf.cc.ca.us






  • Prev by Date: finite element problem
  • Next by Date: Is it a BUG?
  • Prev by thread: Re: finite element problem
  • Next by thread: Re: how to compute pi by using continued fraction?