calculating pi (1 Viewer)

stag_j

Member
Joined
Jul 21, 2003
Messages
95
Location
Sydney
im just wondering...i know that you can calculate e by finding the sum from 0 to infinity of 1/n!, ie 1/1+1/1+1/2+1/6+1/24....

does anyone know of a similar formula for pi?
 

ezzy85

hmm...yeah.....
Joined
Nov 4, 2002
Messages
556
Gender
Undisclosed
HSC
N/A
measure circumference of a circle with string, measure diameter of that circle and divide circumference by diameter?
 

Affinity

Active Member
Joined
Jun 9, 2003
Messages
2,062
Location
Oslo
Gender
Undisclosed
HSC
2003
4 * ( 1 - 1/3 + 1/5 - 1/7 + 1/9 ...) is the only one I can think of now, but it's not a very good one since it's only conditionally convergent.
 

snow bum

Banned
Joined
Jul 10, 2003
Messages
46
There was some way you could do it empirically, by having a circle in a box with the circle touching each side and finding the probablility of a point being in the circle as opposed to outside the circle but in the box.
 

Affinity

Active Member
Joined
Jun 9, 2003
Messages
2,062
Location
Oslo
Gender
Undisclosed
HSC
2003
by the way,
both formulae were obtained from the taylor/maclaurin series expansion of functions.

f(x) = SUM {n=0 -> inf} [( f_n(a) * (x-a)^n ) / n! ]
where a any number.
the approximation for e used f(x) = e^x and a = 0

the approximation for Pi used f(x) = arctan(x) and a = 0
 

Archman

Member
Joined
Jul 29, 2003
Messages
337
Gender
Undisclosed
HSC
N/A
hmm.. i thought e = lim(n-> infinity) (1+1/n)^n
 

Affinity

Active Member
Joined
Jun 9, 2003
Messages
2,062
Location
Oslo
Gender
Undisclosed
HSC
2003
Archman: that's a bad way to find e numerically, converges too slowly..
that's also why the series I posted for Pi was bad.
besides that, It takes much more time on a computer to calculate multiplication -> another reason for not using lim n->inf (1+1/n)^n
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top