Multiplying pi to get whole numbers
Moderators: gmalivuk, Moderators General, Prelates
 Twasbrillig
 Tawsbirlig
 Posts: 1942
 Joined: Mon Nov 20, 2006 5:50 am UTC
Multiplying pi to get whole numbers
So I had a math test today and finished early, so I started playing with my calculator.
I started typing in a few random digits, then multiplied them by pi (just tried the one time), and divided by 2.
I got a whole number.
Needless to say, I was shocked. But is that a reasonable response? How likely is it? Are the odds millions to one against, or what?
(The number was 94,613,256. Using pi to 9 decimal places, my calculator gives 148,618,155 when divided by two)
I started typing in a few random digits, then multiplied them by pi (just tried the one time), and divided by 2.
I got a whole number.
Needless to say, I was shocked. But is that a reasonable response? How likely is it? Are the odds millions to one against, or what?
(The number was 94,613,256. Using pi to 9 decimal places, my calculator gives 148,618,155 when divided by two)
I want to have Bakemaster's babies. It's possible, with science.
I wonder if you can see...
...what is wrong with my signature?
I wonder if you can see...
...what is wrong with my signature?
wing wrote:I'm sorry... But that was THE funniest thing I've ever read on the interbutts.
 Mathmagic
 It's not as cool as that Criss Angel stuff.
 Posts: 2926
 Joined: Thu Nov 30, 2006 12:48 am UTC
 Location: In ur fora posting in teh threads
Re: Multiplying pi to get whole numbers
That... is really odd. Theoretically, that shouldn't happen since pi is irrational (ie. can't be expressed as a fraction), so saying that:
(94613256)*pi = 297236310
Is implying that:
pi = ^{297236310}/_{94613256}
Which is obviously not true. It just must be a very, very, *very* good approximation of pi; such a good approximation that both Google AND my TI83 both just round up to 1 when you divide that fraction by pi. I'm guessing it's accurate enough to pi to have the same value as the amount of digits that the calculator/Google can store.
(94613256)*pi = 297236310
Is implying that:
pi = ^{297236310}/_{94613256}
Which is obviously not true. It just must be a very, very, *very* good approximation of pi; such a good approximation that both Google AND my TI83 both just round up to 1 when you divide that fraction by pi. I'm guessing it's accurate enough to pi to have the same value as the amount of digits that the calculator/Google can store.
Axman: That, and have you played DX 10 games? It's like having your corneas swabbed with clits made out of morphine.
Pathway: cocks cocks cocks
Pathway: cocks cocks cocks
 Lamil_Lerran
 Posts: 9
 Joined: Tue Oct 30, 2007 8:33 pm UTC
Re: Multiplying pi to get whole numbers
Since it is impossible to get exactly a whole number by multiplying pi by a rational number, the probability depends entirely on how many extra significant digits your calculator had that it would have shown you if they were nonzero, but didn't because they were zero. (For instance, if your calculator is a scientific calculator that shows 10 digits but cuts off any trailing zeros after a decimal, the probability would be 1/10 (since your answer was 9 digits).)
I am making a few assumptions here (your calculator needs to store more digits than it shows (otherwise the division by 2 can affect things), and I'm assuming a uniform distribution of the decimal component of multiples of pi in the interval [0,1], and I'm making an assumption about how your calculator displays results (for instance, a calculator could theoretically show ".0" at the end of every number it rounded to an integer to display, but internally wasn't an integer.)). However, these assumptions are probably valid or nearly valid.
[Edit: Google and TI83s round it? That is impressive.]
I am making a few assumptions here (your calculator needs to store more digits than it shows (otherwise the division by 2 can affect things), and I'm assuming a uniform distribution of the decimal component of multiples of pi in the interval [0,1], and I'm making an assumption about how your calculator displays results (for instance, a calculator could theoretically show ".0" at the end of every number it rounded to an integer to display, but internally wasn't an integer.)). However, these assumptions are probably valid or nearly valid.
[Edit: Google and TI83s round it? That is impressive.]
Re: Multiplying pi to get whole numbers
Well, it's 3.1415926537820450867899525622498..., so it's good to, what, 8 digits?
Re: Multiplying pi to get whole numbers
mathmagic wrote:That... is really odd. Theoretically, that shouldn't happen since pi is irrational (ie. can't be expressed as a fraction), so saying that:
(94613256)*pi = 297236310
Is implying that:
pi = ^{297236310}/_{94613256}
Which is obviously not true. It just must be a very, very, *very* good approximation of pi; such a good approximation that both Google AND my TI83 both just round up to 1 when you divide that fraction by pi. I'm guessing it's accurate enough to pi to have the same value as the amount of digits that the calculator/Google can store.
Given floating point roundoff, it doesn't have to be that good an approximation. You're near the maximum display size anyways.
Code: Select all
$ perl
use Math::BigFloat;
$pi = new Math::BigFloat "3.141592653589793238462643383279502884197169399";
print $pi*94613256/2, "\n";
__END__
148618154.9909052133288675624294648629676
Some of us exist to find out what can and can't be done.
Others exist to hold the beer.
 Mathmagic
 It's not as cool as that Criss Angel stuff.
 Posts: 2926
 Joined: Thu Nov 30, 2006 12:48 am UTC
 Location: In ur fora posting in teh threads
Re: Multiplying pi to get whole numbers
Given floating point roundoff, it doesn't have to be that good an approximation.
I just have no idea how many digits Google or my calculator actually hold. I figured Google would hold enough to not have to round...
Axman: That, and have you played DX 10 games? It's like having your corneas swabbed with clits made out of morphine.
Pathway: cocks cocks cocks
Pathway: cocks cocks cocks
Re: Multiplying pi to get whole numbers
I think the question wasn't answered and I want to know too. What fraction of integers x have pi*x with at least 9 zeros after the decimal?
Re: Multiplying pi to get whole numbers
quintopia wrote:I think the question wasn't answered and I want to know too. What fraction of integers x have pi*x with at least 9 zeros after the decimal?
It didn't have 9 zeros. It had 2 9's after the decimal. Given the 9 digits in front of the decimal, that caused it to display as an integer on his calculator.
The answer with 9 zeros after the decimal, though, should be 1 in a billion. If you want to say that rounded off it should have 9 zeros, it still should be 1 in a billion, though only half of the first set is in the second set.
I say "should" be because I'm too lazy to try to prove that the portion in question is actually welldefined. But if it is, then that's the obvious answer.
Some of us exist to find out what can and can't be done.
Others exist to hold the beer.
Re: Multiplying pi to get whole numbers
If you ask google to multiply any 8 digit number greater than about 70,000,000 by pi and divide it by 2, you always get an integer. It only displays 9 significant figures.
In the spirit of taking things too far  the 5x5x5x5x5 Rubik's Cube.
 Cosmologicon
 Posts: 1806
 Joined: Sat Nov 25, 2006 9:47 am UTC
 Location: Cambridge MA USA
 Contact:
Re: Multiplying pi to get whole numbers
There's about a 2% chance that if you do what the OP did you'll get as close to a whole number. If your calculator only has 9 display digits, though, then it's impossible for it to display a number in the billions as anything but a whole number. If it shows 11 digits, it should not have displayed it as a whole number. So, I don't really get what happened.... Does the OP's calculator display exactly 10 digits?
It might be a very very *very* good approximation in absolute terms, but compared with some others it's not so hot. 245850922/78256779 is about 2.5 million times better, and it's shorter.
mathmagic wrote:pi = ^{297236310}/_{94613256}
Which is obviously not true. It just must be a very, very, *very* good approximation of pi; such a good approximation that both Google AND my TI83 both just round up to 1 when you divide that fraction by pi.
It might be a very very *very* good approximation in absolute terms, but compared with some others it's not so hot. 245850922/78256779 is about 2.5 million times better, and it's shorter.
Re: Multiplying pi to get whole numbers
Cosmologicon wrote:There's about a 2% chance that if you do what the OP did you'll get as close to a whole number. If your calculator only has 9 display digits, though, then it's impossible for it to display a number in the billions as anything but a whole number. If it shows 11 digits, it should not have displayed it as a whole number. So, I don't really get what happened.... Does the OP's calculator display exactly 10 digits?
It could also show 11 digits, but the decimal point takes up a digit on the display. In that case it might still choose to display an integer.
Some of us exist to find out what can and can't be done.
Others exist to hold the beer.
 Twasbrillig
 Tawsbirlig
 Posts: 1942
 Joined: Mon Nov 20, 2006 5:50 am UTC
Re: Multiplying pi to get whole numbers
Cosmologicon wrote:Does the OP's calculator display exactly 10 digits?
Yes, and does my new avatar throw you off by THAT much, Cosmo?
I want to have Bakemaster's babies. It's possible, with science.
I wonder if you can see...
...what is wrong with my signature?
I wonder if you can see...
...what is wrong with my signature?
wing wrote:I'm sorry... But that was THE funniest thing I've ever read on the interbutts.
 Mathmagic
 It's not as cool as that Criss Angel stuff.
 Posts: 2926
 Joined: Thu Nov 30, 2006 12:48 am UTC
 Location: In ur fora posting in teh threads
Re: Multiplying pi to get whole numbers
It might be a very very *very* good approximation in absolute terms, but compared with some others it's not so hot. 245850922/78256779 is about 2.5 million times better, and it's shorter.
Didn't say it was the best.
And like I said, I didn't really take the time to investigate how accurate Google calculator actually was. In hindsight, it's not all *that* spectacular a feat.
Axman: That, and have you played DX 10 games? It's like having your corneas swabbed with clits made out of morphine.
Pathway: cocks cocks cocks
Pathway: cocks cocks cocks
 Cosmologicon
 Posts: 1806
 Joined: Sat Nov 25, 2006 9:47 am UTC
 Location: Cambridge MA USA
 Contact:
Re: Multiplying pi to get whole numbers
Twasbrillig wrote:Cosmologicon wrote:Does the OP's calculator display exactly 10 digits?
Yes, and does my new avatar throw you off by THAT much, Cosmo?
What? Anyway, if your calculator only displays 10 digits, then any random number with 9 digits left of the decimal that you choose to display has a 1in10 chance of appearing as an integer. So, I wouldn't go buying lottery tickets thinking it's your lucky day.
 Twasbrillig
 Tawsbirlig
 Posts: 1942
 Joined: Mon Nov 20, 2006 5:50 am UTC
Re: Multiplying pi to get whole numbers
Cosmologicon wrote:Twasbrillig wrote:Cosmologicon wrote:Does the OP's calculator display exactly 10 digits?
Yes, and does my new avatar throw you off by THAT much, Cosmo?
What? Anyway, if your calculator only displays 10 digits, then any random number with 9 digits left of the decimal that you choose to display has a 1in10 chance of appearing as an integer. So, I wouldn't go buying lottery tickets thinking it's your lucky day.
I figured there'd be a simple explanation.
Also, I was previously referring to how you called me "OP", even though we've had so many discussions on the fora in the past...
I want to have Bakemaster's babies. It's possible, with science.
I wonder if you can see...
...what is wrong with my signature?
I wonder if you can see...
...what is wrong with my signature?
wing wrote:I'm sorry... But that was THE funniest thing I've ever read on the interbutts.
Re: Multiplying pi to get whole numbers
Most calculators have a display shorter than their rounding length (my one displays 10 remembers 15)
But if you type in more it starts rounding
But if you type in more it starts rounding
mosc wrote:How did you LEARN, exactly, to suck?
Re: Multiplying pi to get whole numbers
Twasbrillig wrote:Also, I was previously referring to how you called me "OP", even though we've had so many discussions on the fora in the past...
OP means Original Poster. As in the person who started the thread.
In this discussion you're the OP.
Some of us exist to find out what can and can't be done.
Others exist to hold the beer.
Re: Multiplying pi to get whole numbers
According to google: (pi * 100 000 000) / 2 = 157 079 633
 22/7
 I'm pretty sure I have "The Slavery In My Asshole" on DVD.
 Posts: 6475
 Joined: Fri Jul 06, 2007 3:30 pm UTC
 Location: 127.0.0.1
Re: Multiplying pi to get whole numbers
btilly wrote:OP means Original Poster. As in the person who started the thread.
In this discussion you're the OP.
Yes, but OP tends to get used when you're not thinking of someone specifically, but rather the initial idea presented in the thread. If I'm actually fairly familiar with the person, I'll refer to them using their handle (or some kind of shortened version of it) rather than calling them OP.
Totally not a hypothetical...
I want to be!Steroid wrote:Don't want to be.bigglesworth wrote:If your economic reality is a choice, then why are you not as rich as Bill Gates?
 LoopQuantumGravity
 Posts: 416
 Joined: Mon Oct 01, 2007 4:19 am UTC
Re: Multiplying pi to get whole numbers
394372834342725903069943709807632345074473102456264

125532772013612015195543173729505082616186012726141
Gives Pi correct to 102 decimals .

125532772013612015195543173729505082616186012726141
Gives Pi correct to 102 decimals .
I study theoretical physics & strings, and am a recipient of the prestigious Jayne Cobb Hero of Canton award.
And the science gets done and you make a neat gun
For the people who are still alive!
And the science gets done and you make a neat gun
For the people who are still alive!
Re: Multiplying pi to get whole numbers
22/7 wrote:btilly wrote:OP means Original Poster. As in the person who started the thread.
In this discussion you're the OP.
Yes, but OP tends to get used when you're not thinking of someone specifically, but rather the initial idea presented in the thread. If I'm actually fairly familiar with the person, I'll refer to them using their handle (or some kind of shortened version of it) rather than calling them OP.
That differs widely by person. Speaking personally, I'll often call someone I know well OP if my intent is to refer back in some way to what the discussion started off being about.
Why would I do that? Because even though I know the original poster, I don't assume that all of the people I am addressing know the original poster, or are paying close enough attention to realize that this was the person who started the conversation.
Some of us exist to find out what can and can't be done.
Others exist to hold the beer.
Re: Multiplying pi to get whole numbers
LoopQuantumGravity wrote:394372834342725903069943709807632345074473102456264

125532772013612015195543173729505082616186012726141
Gives Pi correct to 102 decimals .
This one should be correct to 103 decimals:
314159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798

100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
(Please don't shoot me.)
 22/7
 I'm pretty sure I have "The Slavery In My Asshole" on DVD.
 Posts: 6475
 Joined: Fri Jul 06, 2007 3:30 pm UTC
 Location: 127.0.0.1
Re: Multiplying pi to get whole numbers
shill wrote:LoopQuantumGravity wrote:394372834342725903069943709807632345074473102456264

125532772013612015195543173729505082616186012726141
Gives Pi correct to 102 decimals .
This one should be correct to 103 decimals:
314159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798

100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
(Please don't shoot me.)
That's actually *EXACTLY* what I thought when I saw the "accurate to 102 decimals" thing.
Totally not a hypothetical...
I want to be!Steroid wrote:Don't want to be.bigglesworth wrote:If your economic reality is a choice, then why are you not as rich as Bill Gates?
Re: Multiplying pi to get whole numbers
LoopQuantumGravity wrote:394372834342725903069943709807632345074473102456264

125532772013612015195543173729505082616186012726141
Gives Pi correct to 102 decimals .
You just used a portion of the continued fraction representation, right?
For those who don't understand that comment, every number can be written in the form x_{0} + 1/(x_{2} + 1/(x_{3} + 1/(...))) with the sequence truncating if and only if the number is rational. And if you take a number that is irrational, take a few terms then truncate the sequence, you'll get a rational number that is a surprisingly good approximation.
If you do that for pi, the series starts off 3, 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, 1, 1, 2, 2,... and the resulting rational approximations you get start off 3, 22/7, 333/106, 333/106, 97258/30959 and so on.
Now the useless party trick is that given enough digits of the decimal representation of a rational number, you can find the continued fraction, truncate at whatever looks like roundoff error, and then you're very likely to be able to find the original decimal.
For instance let's put something like 0.662790697674... in your calculator. The leading term is clearly a 0. Now hit 1/x and get 1.50877192982551. The next term is a 1, so subtract 1. Now hit 1/x and get 1.96551724137565. Subtract 1 and hit 1/x again to get 1.03571428571821. Subtract 1 and hit 1/x to get 27.9999999969234.
So our continued fraction terms were 0, 1, 1, 1, 28. So
Code: Select all
0.662790697674...
= 0 + 1/(1 + 1/(1 + 1/(1 + 1/28)))
= 0 + 1/(1 + 1/(1 + 1/(29/28)))
= 0 + 1/(1 + 1/(1 + 28/29))
= 0 + 1/(1 + 1/(57/29))
= 0 + 1/(1 + 29/57)
= 0 + 1/(86/57)
= 0 + 57/86
= 57/86
(Mathematica has a function to convert decimals into fractions. This is how it does it.)
Some of us exist to find out what can and can't be done.
Others exist to hold the beer.

 Posts: 37
 Joined: Fri May 11, 2007 3:41 am UTC
Re: Multiplying pi to get whole numbers
22/7 wrote:shill wrote:LoopQuantumGravity wrote:394372834342725903069943709807632345074473102456264

125532772013612015195543173729505082616186012726141
Gives Pi correct to 102 decimals .
This one should be correct to 103 decimals:
314159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798

100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
(Please don't shoot me.)
That's actually *EXACTLY* what I thought when I saw the "accurate to 102 decimals" thing.
QFT
Re: Multiplying pi to get whole numbers
22/7 wrote:shill wrote:LoopQuantumGravity wrote:394372834342725903069943709807632345074473102456264

125532772013612015195543173729505082616186012726141
Gives Pi correct to 102 decimals .
This one should be correct to 103 decimals:
314159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798

100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
(Please don't shoot me.)
That's actually *EXACTLY* what I thought when I saw the "accurate to 102 decimals" thing.
Look how many more numbers you'd have to remember though!
mosc wrote:How did you LEARN, exactly, to suck?
 gmalivuk
 GNU Terry Pratchett
 Posts: 25215
 Joined: Wed Feb 28, 2007 6:02 pm UTC
 Location: Here and There
 Contact:
Re: Multiplying pi to get whole numbers
SimonM wrote:Look how many more numbers you'd have to remember though!
Not really. The continued fraction one requires remembering
394372834342725903069943709807632345074473102456264/125532772013612015195543173729505082616186012726141
and then computing. Whereas just remembering the digits outright requires remembering
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798
 Twasbrillig
 Tawsbirlig
 Posts: 1942
 Joined: Mon Nov 20, 2006 5:50 am UTC
Re: Multiplying pi to get whole numbers
btilly wrote:22/7 wrote:btilly wrote:OP means Original Poster. As in the person who started the thread.
In this discussion you're the OP.
Yes, but OP tends to get used when you're not thinking of someone specifically, but rather the initial idea presented in the thread. If I'm actually fairly familiar with the person, I'll refer to them using their handle (or some kind of shortened version of it) rather than calling them OP.
That differs widely by person. Speaking personally, I'll often call someone I know well OP if my intent is to refer back in some way to what the discussion started off being about.
Why would I do that? Because even though I know the original poster, I don't assume that all of the people I am addressing know the original poster, or are paying close enough attention to realize that this was the person who started the conversation.
We try to talk to each other on a more personal level on the fora, Registered User #17229... I mean btilly. It's just a courtesy thing.
Scrolling up to the top of the page to check whom it is takes so much effort, I know, but that's the price to be paid.
I want to have Bakemaster's babies. It's possible, with science.
I wonder if you can see...
...what is wrong with my signature?
I wonder if you can see...
...what is wrong with my signature?
wing wrote:I'm sorry... But that was THE funniest thing I've ever read on the interbutts.
Re: Multiplying pi to get whole numbers
gmalivuk wrote:SimonM wrote:Look how many more numbers you'd have to remember though!
Not really. The continued fraction one requires remembering
394372834342725903069943709807632345074473102456264/125532772013612015195543173729505082616186012726141
and then computing. Whereas just remembering the digits outright requires remembering
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798
It is no coincidence that those two are almost exactly the same length. Information theory holds that perfectly compressed data looks like perfectly encrypted data looks like a random sequence. Per casual inspection, the digits of pi are random. So unless you do a whole lot of computing (enough to take advantage of the fact that they aren't really random), there is no more efficient way to state the first x digits of pi than to just write them down.
The representation that comes from continued fractions stores the exact same information, and so takes at least the same space. The amazing part is that it does not need more space (if you pick a random denominator then you'll need double). But it does not do better.
Incidentally I found http://planetmath.org/encyclopedia/Cont ... nOfPi.html and verified that the fraction above was indeed done with continued fractions. Here is the list of terms that was used:
3, 7, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, 1, 1, 2, 2, 2, 2, 1, 84, 2, 1, 1, 15, 3, 13, 1, 4, 2, 6, 6, 99, 1, 2, 2, 6, 3, 5, 1, 1, 6, 8, 1, 7, 1, 2, 3, 7, 1, 2, 1, 1
And here is the program that I used to convert that into the fraction:
Code: Select all
#! /usr/bin/ruby
i = ARGV.map {x x.to_i}.reverse
n = 1
m = 0
i.each do x
# Flip numerator and denominator
n, m = m, n
# Add x
n += x*m
end
puts "#{n}/#{m}"
Some of us exist to find out what can and can't be done.
Others exist to hold the beer.
 Cosmologicon
 Posts: 1806
 Joined: Sat Nov 25, 2006 9:47 am UTC
 Location: Cambridge MA USA
 Contact:
Re: Multiplying pi to get whole numbers
Twasbrillig wrote:btilly wrote:I'll often call someone I know well OP if my intent is to refer back in some way to what the discussion started off being about.
Why would I do that? Because even though I know the original poster, I don't assume that all of the people I am addressing know the original poster, or are paying close enough attention to realize that this was the person who started the conversation.
We try to talk to each other on a more personal level on the fora, Registered User #17229... I mean btilly. It's just a courtesy thing.
It must be an unspoken rule. This is the first I've heard of it. I didn't mean to hurt your feelings.
 gmalivuk
 GNU Terry Pratchett
 Posts: 25215
 Joined: Wed Feb 28, 2007 6:02 pm UTC
 Location: Here and There
 Contact:
Re: Multiplying pi to get whole numbers
Cosmologicon wrote:Twasbrillig wrote:btilly wrote:I'll often call someone I know well OP if my intent is to refer back in some way to what the discussion started off being about.
Why would I do that? Because even though I know the original poster, I don't assume that all of the people I am addressing know the original poster, or are paying close enough attention to realize that this was the person who started the conversation.
We try to talk to each other on a more personal level on the fora, Registered User #17229... I mean btilly. It's just a courtesy thing.
It must be an unspoken rule. This is the first I've heard of it. I didn't mean to hurt your feelings.
It's not any kind of rule, spoken or not. No one needs to make sure to check who posted the original topic in order to address them by name.
In fact, that would sometimes be counterproductive. You may know that person well, but if I don't, and I just see "according to what Twasbrillig said", I might have to scroll up through the whole conversation to see what you're talking about. If you just say, "according to the OP", on the other hand, I'll either remember what the original post said, or just go straight back to the top and read it again myself.
Re: Multiplying pi to get whole numbers
Am I missing something here? He said in the original post, "using pi to 9 decimal places", meaning that in his calculator pi is rational. so obviously if you pick the right numbers to multiply by you'll get a whole number.
That said, I don't really understand the question. Are you asking the chances of picking the winning number? In that case, I have no idea.
But maybe I'm just missing something.
That said, I don't really understand the question. Are you asking the chances of picking the winning number? In that case, I have no idea.
But maybe I'm just missing something.
Re: Multiplying pi to get whole numbers
Cosmologicon wrote:It might be a very very *very* good approximation in absolute terms, but compared with some others it's not so hot. 245850922/78256779 is about 2.5 million times better, and it's shorter.
I kinda like 355/113 myself.
 J Spade
 Luppoewagan
 Posts: 523
 Joined: Wed Apr 18, 2007 7:56 pm UTC
 Location: Up a creek without a paddle
 Contact:
Re: Multiplying pi to get whole numbers
Well, π • π^{1} = 1
…Sorry.
…Sorry.
Re: Multiplying pi to get whole numbers
J Spade wrote:Well, π • π^{1} = 1
…Sorry.
That wasn't worth apologizing for. Compare with
I + π = no more π
Now that is apologyworthy!
Some of us exist to find out what can and can't be done.
Others exist to hold the beer.
 Yakk
 Poster with most posts but no title.
 Posts: 11017
 Joined: Sat Jan 27, 2007 7:27 pm UTC
 Location: E pur si muove
Re: Multiplying pi to get whole numbers
mathmagic wrote:Given floating point roundoff, it doesn't have to be that good an approximation.
I just have no idea how many digits Google or my calculator actually hold. I figured Google would hold enough to not have to round...
... this is a joke, right?
One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision  BR
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
 J Spade
 Luppoewagan
 Posts: 523
 Joined: Wed Apr 18, 2007 7:56 pm UTC
 Location: Up a creek without a paddle
 Contact:
Re: Multiplying pi to get whole numbers
btilly wrote:J Spade wrote:Well, π • π^{1} = 1
…Sorry.
That wasn't worth apologizing for. Compare with
I + π = no more π
Now that is apologyworthy!
*groans*
 Mathmagic
 It's not as cool as that Criss Angel stuff.
 Posts: 2926
 Joined: Thu Nov 30, 2006 12:48 am UTC
 Location: In ur fora posting in teh threads
Re: Multiplying pi to get whole numbers
Yakk wrote:mathmagic wrote:Given floating point roundoff, it doesn't have to be that good an approximation.
I just have no idea how many digits Google or my calculator actually hold. I figured Google would hold enough to not have to round...
... this is a joke, right?
In what way?
I figured that if an approximation such as the OP's approximation was accurate to x decimal places, I figured that it would have to be a pretty good approximation for Google to just read the answer out as pi. I didn't realize that Google's memory allocation only allowed for n decimal places, where n < x.
If it's a crime to not know offhand the amount of decimal places that Google stores, then I'm guilty as charged.
Axman: That, and have you played DX 10 games? It's like having your corneas swabbed with clits made out of morphine.
Pathway: cocks cocks cocks
Pathway: cocks cocks cocks
Re: Multiplying pi to get whole numbers
mathmagic wrote:Yakk wrote:mathmagic wrote:Given floating point roundoff, it doesn't have to be that good an approximation.
I just have no idea how many digits Google or my calculator actually hold. I figured Google would hold enough to not have to round...
... this is a joke, right?
In what way?
I figured that if an approximation such as the OP's approximation was accurate to x decimal places, I figured that it would have to be a pretty good approximation for Google to just read the answer out as pi. I didn't realize that Google's memory allocation only allowed for n decimal places, where n < x.
If it's a crime to not know offhand the amount of decimal places that Google stores, then I'm guilty as charged.
I think its because it sounded like "Google would hold enough to never have to round..." rather than to round approximations of pi when given as decimals
mosc wrote:How did you LEARN, exactly, to suck?
 Mathmagic
 It's not as cool as that Criss Angel stuff.
 Posts: 2926
 Joined: Thu Nov 30, 2006 12:48 am UTC
 Location: In ur fora posting in teh threads
Re: Multiplying pi to get whole numbers
SimonM wrote:I think its because it sounded like "Google would hold enough to never have to round..."
Haha, yes, I can see how it would be misinterpreted that way.
I guess you'd have to take it within context of my other posts, particularly my first:
mathmagic wrote:I'm guessing it's accurate enough to pi to have the same value as the amount of digits that the calculator/Google can store.
That... is really odd. Theoretically, that shouldn't happen since pi is irrational (ie. can't be expressed as a fraction), so saying that:
(94613256)*pi = 297236310
Is implying that:
pi = ^{297236310}/_{94613256}
Which is obviously not true. It just must be a very, very, *very* good approximation of pi; such a good approximation that both Google AND my TI83 both just round up to 1 when you divide that fraction by pi. I'm guessing it's accurate enough to pi to have the same value as the amount of digits that the calculator/Google can store.
Axman: That, and have you played DX 10 games? It's like having your corneas swabbed with clits made out of morphine.
Pathway: cocks cocks cocks
Pathway: cocks cocks cocks
Who is online
Users browsing this forum: No registered users and 7 guests