Skip to comments.
What is the square root of pi?
Me ^
Posted on 12/08/2001 2:26:08 PM PST by ambrose
What is the square root of pi?
TOPICS: Miscellaneous; Your Opinion/Questions
KEYWORDS: cheesewatch; moosewatch
Navigation: use the links below to view more comments.
first previous 1-20 ... 201-220, 221-240, 241-260 ... 321-327 next last
To: Lazamataz
Ouch. My brain hurts.
221
posted on
12/08/2001 8:56:25 PM PST
by
clikker
To: MitchellC
You forgot to carry the 1.I always carry one.
A beer or a gun.
To: Lazamataz
Yeah, well maybe there is an integer in the cheese between 0 and 1 and we just haven't discovered it yet and won't until somebody cuts the cheese.
To: WileyCoyote22
Where does infinity end ?
Just before infinity + 1. :)
To: Bill Rice
That's because your computer probably rounded them both to about 4 or 5 places when you "checked" it. I don't think they take it any further. No, I specifically used Rexx where I can set the numeric digits to any significance I want. I had the Pi program already, and I just fed the answer to the SQRT function that is a part of the PI program. I have compared the output to published lists of Pi digits, and it is accurate. I think that the differences beyond 1000 digits of Pi are too small to show up in the calculation of the square root at that point.
Here is the program:
/* Square root of Pi to digits places/2 */
parse arg places
numeric digits places /* Number of places for PI calculation */
number_pi=PI(places)
sroot=sqrt(number_pi,places/2) /* half the number for the square root */
lineout("sroot.txt",sroot) /* Output to file for cutting and pasting */
exit
PI: procedure
parse arg P
if P = "" then P = 9; P=P+3; numeric digits P
X = SQRT(2, P); Pi = 2 + X; Y = SQRT(X, P); X = Y
do forever
X = 0.5 * (X + 1 / X)
NewPi = Pi * (X + 1) / (Y + 1)
if Pi = NewPi then return trunc(Pi,P-3)
Pi = NewPi
X = SQRT(X, P)
Y = (Y * X + 1 / X) / (Y + 1)
end
SQRT: procedure
parse arg N, P
if P = "" then P = 9; numeric digits P
parse value FORMAT(N,,,,0) with N "E" Exp
if Exp = "" then Exp = 0
if (Exp // 2) <> 0 then
if Exp > 0 then do; N = N * 10; Exp = Exp - 1; end
else do; N = N / 10; Exp = Exp + 1; end
X = 0.5 * (N + 1)
do forever
NewX = 0.5 * (X + N / X)
if X = NewX then return X * 10 ** (Exp % 2)
X = NewX
end
To: ambrose
Cubed potatoes in chicken stock, with some flower and peas, baked between two crusts at 450 °F for about an hour. They're good after a cold afternoon on the back forty.
To: Lazamataz
Laz, if you think about how pi is derived, what it represents as a ratio between the radius of a circle and the circumference, then the value of pi will vary according to the strength of the garvitational field in which the ratio is measured. [I learned that from Dick Feynman. He wasn't lyin' to me, was he?]
227
posted on
12/08/2001 9:13:14 PM PST
by
MHGinTN
garvitational = gravitational (in some universes)
228
posted on
12/08/2001 9:15:10 PM PST
by
MHGinTN
To: lowbridge
What kind of pi? Apple pi? Pizza pi?In Wisconsin, it's called a Cow Pi.
Or if you're really in to it...it's called cow tippn'.
To: MHGinTN
It's an interesting concept but the effect should only be observed by someone outside of the gravitational effect. To the person inside the gravitational effect the circumfrence and the radius will not vary.
To: Tennessee_Bob
Roblochon is the first cheese of Savoy Are we allowed to bomb France during Roblochon?
231
posted on
12/08/2001 9:23:03 PM PST
by
Silly
To: LibKill
While we are at it, what is the square root of negative 1? that would be i.
232
posted on
12/08/2001 9:25:00 PM PST
by
sten
To: BADJOE
There is no square root of any negative number. The square root of -1 is i, and the square root of any negative number is simply i* the square root of the absolute value of the number that you are taking the square root of.
To: is_is
oh me....oh my....i love pi....Not a big fan of pi...but I love grits.
To: AmishDude
New movie out: "Silence of the Pi".
To: Excuse_Me
Kewl! Back in the late 80's, my guru was called into a company who had just spent 6 figures on an expensive measuring device that was giving them fits. They made bearings or something.
It was supposed to log a bunch of measurements, do Chi-square stuff, and then tell them when it was time to retool.
It was taking and logging the measurements to 6 places, but then they were turning out big batches of rejects - and it wasn't ever popping up any flags to retool.
He determined that while the actual measuring device was accurate and functioning, the cheeseball computer (Probably a 286), that came with it was rounding all those super precise numbers, and then butchering up the math with even more rounding in the statistical analysis process.
He ended up selling them a clone system, and writing them a program that did something like you did to keep the extra places.
To: ThomasPaine2000
"Pi" equals the length of Barbara Streisand's nose. Right?
To: Lazamataz
It's an interesting concept but the effect should only be observed by someone outside of the gravitational effect. To the person inside the gravitational effect the circumfrence and the radius will not vary.
Wait, is this just the beginning of a clever excuse to shoot the Dems into space for 'research purposes'? :)
(If not, darn.)
To: Lazamataz
It would be an interesting thought experiment to conjecture how the universe expressed spatial dimensional component and thus separated linear, planar, and volumetric expression such that pi could be an expression in planar and volumetric space, but not in linear space. ... pi had an origin! [I like chocolate cream pi and banana cream pi ... 'e' 'e' here's the leftovers]
239
posted on
12/08/2001 9:48:54 PM PST
by
MHGinTN
To: Lazamataz
BTW, that the value of pi would be on a sliding scale in the neighborhood of the event horizon of a black hole has been basis of one of my arguments with Hawking. "To the person inside the gravitational effect the circumference and the radius will not vary." Actually, when approaching a great-enough differential of gravitational force, since time is altered also, the changes to pi amount to temporal shift rather than spatial.
240
posted on
12/08/2001 9:52:48 PM PST
by
MHGinTN
Navigation: use the links below to view more comments.
first previous 1-20 ... 201-220, 221-240, 241-260 ... 321-327 next last
Disclaimer:
Opinions posted on Free Republic are those of the individual
posters and do not necessarily represent the opinion of Free Republic or its
management. All materials posted herein are protected by copyright law and the
exemption for fair use of copyrighted works.
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson