English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Is there a way to calculate pi or any irrational number digit by digit using an iterative algorithm. At each iteration, you get a new digit. Instead of the convergent method.

This would be much more convenient with computers.

2007-12-07 11:22:28 · 5 answers · asked by Anonymous in Science & Mathematics Mathematics

5 answers

http://en.wikipedia.org/wiki/Brent-Salamin_algorithm

2007-12-07 11:28:18 · answer #1 · answered by robert 6 · 0 2

I've personally never seen one, although it's possible they exist.

I would assume that such an algorithm couldn't exist because that would require a pattern in the digits of pi, which, although mathemeticians can't prove don't exist, haven't yet been found.

Even besides this, pi would be different in other number systems and instead of each digit representing a value 10 times as precise as the previous one, there would be another factor of "precision increase" with each digit, so if such an algorithm exists, it would be unique to each base.

Overall, I would give it about the same odds as little green men from exactly 314 light years away landing on the Earth at exactly 3:14 on Pi Day next year and doing a Mexican dance.

2007-12-07 11:30:12 · answer #2 · answered by Complete and Total Idiot 3 · 0 0

the reason you're having a project is considering you're lookig for a VB.internet way of doing it. it is math, no longer programming. seek for a math way, then write code to do this math. (BTW, except you're utilising a microscope on a ten foot circle, or you like super Circle distances in microns, 10 digits of pi is plenty greater accuracy than you will ever want.)

2016-11-14 00:41:51 · answer #3 · answered by Anonymous · 0 0

Sure -- the first such formula was 1995's Bailey-Borwein-Plouffe algorithm, which has subsequently been improved upon. You can read about it here:

http://en.wikipedia.org/wiki/Bailey-Borwein-Plouffe_formula

2007-12-07 11:30:11 · answer #4 · answered by dan131m 5 · 2 1

No, there are some mathematical proofs that confirm that no formula can be used to find the next number in a pi or the next prime number etc.

2007-12-07 11:27:08 · answer #5 · answered by Bill 2 · 0 3

fedest.com, questions and answers