Results 1 to 4 of 4

Thread: Finding Pi

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    Finding Pi

    As popular as i figured this would be, search didn't find anything!

    I found this online on how to find n digits of pi

    Pi = SUMk=0 to infinity 16-k [ 4/(8k+1) - 2/(8k+4) - 1/(8k+5) - 1/(8k+6) ]

    I thought I knew how to use it until i tested it out manually on my calculator and got some funky answer. Has anyone seen this before? How is it used? (heh i thought i knew )


  2. #2
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860
    I was at my dad's house (no internet ) and I needed to find pie to a few more digits then I knew..

    I just put 2 points, using arcsin to find them. Whenever teh angle went above X, I knew I had gone too far, backed up one, went to next digit, etc... I got it correct up to about 12 digits... then it went beyond the capabilites of QBasic lol (It started doing it in scientific notation, which didn't give more info.
    Don't pay attention to this signature, it's contradictory.

  3. #3
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    350
    Easiest way to get Pi is 4*arctan1 (in radians btw)
    .

  4. #4
    Fanatic Member bugzpodder's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    787
    i'll invent my own pi algorithms. we know that sinpi/6=1/2
    so pi=6*arcsin(1/2) in radians of course

    also you can get a random set of numbers, the chances of pairs being relatively prime is 6/pi^2
    Massey RuleZ! ^-^__Cheers!__^-^ Massey RuleZ!


    Did you know that...
    The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width