All releases of Calculating Pi

  •  20 Jul 2002 07:27
Avatar

    Release Notes: This release calculates value of pi using the algorithm developed by the Chudnovsky brothers. The source code must be edited to get different number of decimal places of accuracy. The Apfloat library is required.

    •  15 Jul 2002 18:38
    Avatar

      Release Notes: John Wallis (1616-1703) discovered a method for calculating the value of by finding the area under the quadrant of a circle. By finding that area, one can find the value of Pi. Wallis, through a long series of interpolations and inductions derived what is now known as Wallis' Formula:- Pi/2=(2*2*4*4*6*6*8*8*...)/(1*3*3*5*5*7*7*9*...) . This branch of programs calculates Pi for a given number of terms. The first version is in simple C, while the second uses inline assembly.

      •  11 Jul 2002 10:59
      Avatar

        Release Notes:

        •  09 Jul 2002 13:49
        Avatar

          Release Notes: This version uses a brute force mechanism which calculates the area of a circle and divides it by r^2. This release completes with far fewer iterations than the previous release, since it uses an antidifferentiated version of the formula that computes the area. Note that dx=1, so a radius much larger than 1 is required for good results.

          •  06 Jul 2002 18:42
          Avatar

            Release Notes: This version calculates the value of Pi using (pi/4)=arctan(1) and arctan(x) = x-x^3/3+x^5/5-x^7/7+.... Unfortunately, this series converges too slowly to be useful, as it takes over 300 terms to obtain a 2 decimal place precision. To obtain 100 decimal places of Pi, one would need to use at least 10^50 terms of this expansion.

            •  04 Jul 2002 16:29
            Avatar

              Release Notes:

              Screenshot

              Project Spotlight

              episoder

              A tool to tell you about new episodes of your favourite TV shows.

              Screenshot

              Project Spotlight

              BalanceNG

              A modern software IP load balancer.