hamsterman wrote: |
---|
This method only works when you actually have a polygon and measure it's radius and length of a side with a ruler. |
Why would you do that if you can use math? Human error would account for most of the error with that method. Just try constructing a perfect regular polygon with 96 sides.
Circumference of a circle with diameter 1 = pi
A regular polygon with n sides,
theta = 180/n
sin(theta) = s/(2*.5)
pi = circumference = n*s = n*sin(180/n)
Now use the polynomial expansion of sin, I can't remember what it is off the top of my head though.
My thoughts are a bit unorganized here, sorry.
Edit: My logic might be wrong, I just worked this out off of the top of my head.
sin(x) = x-x
3/(3!)+x
5/(5!)-...
so...
pi = lim x->infinity(n*(180/n-(180/n)
3/(3!)+(180/n)
5/(5!)-...))
= 180
crap, I forgot that you have to use radians for derivatives of trig functions, so actually...
pi = lim x->infinity(n*(pi/n-(pi/n)
3/(3!)+(pi/n)
5/(5!)-...))
= pi.
So there you have it, a method to approximate pi.
Edit: But wait, I'm using pi to calculate pi? That's defining a word using the word being defined. Anyone have better ideas?