And the half dozen people who answered the question before I came in, what were they: chopped liver?
I thought this was hilarious and was amazed at the complaints. Perhaps the :smack: caused confusion and a simple or
would have been better.
Aceplace57: “22/7 is what I used in applied math…”
I’m curious: Is this experience from the pre-calculater era?
Actually, it does, since the partial sums alternate between being high and being low. So any digit that doesn’t change when you add the next term must be a good one.
AWB, your method doesn’t really work, since any calculator that has a tangent button will also have a pi button. To turn that into an actual method, you need to also give a method of calculating tan(x) without first knowing pi.
Cabbage, I’d say that the biggest thing your proof glosses over is the fact that that integral is in fact arctan. I’d worry about that a long time before I’d worry about the constant of integration.
I unfortunately can’t remember the details but there’s a method of generating pi by physical means. Some mathematics professor was captured as a POW during the American Civil War. He had a needle. He drew a diagram and then randomly dropped the needle on the drawing. The ratio of the amount of times the needle hit a line to the amount of times it didn’t equalled pi with a large enough sample of drops. As I recall, the professor eventually did enough drops to verify pi’s value to five digits.
None of them were responsive to the specific question you picked out: How to prove a specific formula evaluates to pi. The first proof was posted by Cabbage, although I’ll admit friedo satisfied it if your tolerance for handwaving is sufficiently high.
Calculate it? When do we get to eat it?!
Wow, that was bad.
Post #20.
And in this case “not particularly efficient” means “a million terms later, you’re still faffing over the sixth decimal place”. Gregory’s Series converges slooooooowly.
Basically the same as the polygon method - for small angles sin x < x < tan x, where x is in radians. So take a small angle and average its sine and tan and you have the value of x in radians. Since there are 2p radians in 360 degrees, the rest is trivial. All you need then is a method of computing sin and tan of small angles without working in radians in the first place (otherwise you have a, aha, circular argument, and you’re good to go. The smaller the angle, the better the accuracy.
Early calculator days. We were still taught to use fractions until the final step. A lot of times 22/7 would factor out and not be an issue. Mixing fractions and decimals makes a mess. It’s much easier to use fractions until the final step.
This is the oldest and simplest of several infinite series converging to pi.
The problem is both that it converges very slowly (as friedo said), but also that the rounding error from adding and subtracting all these very similar numbers (… + (4/100003) - 4/(100005) + 4/(100007) - … ) will quickly accumulate and swamp whatever significant digits we should theoretically have obtained given the number of iterations.
Mathematicians through the ages have continuously developed more complicated series with better convergence.
What no one seems to have pointed out is that all these formulas rely on trigonometry which depends crucially on the fact that there can similar trinagles that are not the same size (that is, congruent). This pins the formulas down to euclidean geometry. In any non-euclidean geometry, there will not be a constant ratio between the diameter and circumference of a circle; the ratio will depend on the size of the circle.
Long before we get to the 100th decimal digit of pi, we will have a value that is not accurate due to relativistic (gravitational) effects. We don’t even know if the geometry of empty space would be euclidean if empty space could actually exist.
Another formula is to add the reciprocal of all the squares, multiply by 6 and take the square root. Or add the reciprocals of all the fourth powers, multiply by 90 and take the fourth root. There are similar formulas for every even integer. Almost nothing is know for odd integers, except that the sum of the reciprocals of the cubes is irrational.
Pi r round.
I teach Monte Carlo analysis by citing a simple example: hypothesize a circle of radius 1 inscribed inside a square of 2x2. Then generate x,y pairs from a uniform distribution between -1 and +1. It is an easy test to determine if a pair is inside the circle; all will of course be inside the square.
The area of the circle will of course be Pi (Pi*R^2, where R=1). The area of the square is of course 4. Dividing the number of points within the circle by the number of points within the square, and multiplying by 4, will give you an approximation to Pi. More points = better approximation.
Simpler than the Buffon method, IMHO.
By the way, I’ve had students (mostly from overseas) who use the 22/7 approximation (this in graduate-level engineering courses), all the while holding a high-powered calculator in their hands. I give them no end of hell for that…TRM
P.S. - cornbread r square.
That’s exactly how John Mace replied it. (You are probably not as smart as he is, though, because it took you like 25 minutes more than him to post it out.)
Why should anyone have pointed any of the above out? What’s the relevance?
I think he means that pi will always be pi, but, in the real world, especially on large scales, the formulas we use that have pi in the them (e.g. A= pi*r[sup]2[/sup]), may not work. I think.
Just to comment on what’s been posted:
The polygon method of determining Pi: as said this was used by Archimedes to approximate Pi (more precisely, it gave upper and lower bounds Pi had to be within). Since trigonometry hadn’t been devised yet, he was limited to a proof based on classic plane geometry. He started with a circle inscribed between large and small hexagons because one can calculate an exact ratio of a hexagon’s sides to it’s radius (both center to vertice and center to middle-of-side). It’s then possible with some work to derive the ratio of a hexagon’s sides to a twelve-gon of equal radius’s sides, then 24, then 48, etc. Archimedes calculated it out to a circle between two 96-gons before giving up.
The classic proof Cabbage cites, although inefficient, has the virtue of demonstrating that it does necessarily give Pi, by using a function that incorporates Pi and then showing that the series must be equal to it.
Also thanks to Cabbage, I now know I should have said Pi is transcendental, which is the correct term for the property I was thinking of. That and the thread about memorizing digits of Pi led me to learn what a floating-point number was.
No, better than that you cannot do, because it’s the exactly correct answer. You can give plenty of formulas that output the exact value of pi; they just don’t happen to be formulas that output results in the form of a ratio of integers or a root of a polynomial with integer coefficients. But that’s ok; there’s nothing magical about specifying numbers in those particular forms.
(This also goes for Lumpy saying there’s no single operation that can give pi’s exact value. What’s an “operation”? Plenty of expressions evaluate to pi exactly (this is a trivial statement, but it’s still true); they just happen to be operations which are not merely rational functions or such things)