Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Pi, Pi, Mathematical Pi (vanity)
http://www.vvc.edu/ph/TonerS/mathpi.html ^ | Antoni "Ton" Chan & Ken Ferreir

Posted on 03/19/2008 5:18:09 PM PDT by Paul Heinzman

My daughter, Anna, shared this with me this today. I thought I'd share it with my FRiends. Pi, Pi, Mathematical PI


TOPICS: Humor
KEYWORDS: math; parody; pi
Very cute.
1 posted on 03/19/2008 5:18:10 PM PDT by Paul Heinzman
[ Post Reply | Private Reply | View Replies]

To: Charles Henrickson

This reminded me of Dr. Tom Lehrer’s “Periodic Table of the Elements” song. Thought you might enjoy it.


2 posted on 03/19/2008 5:21:46 PM PDT by Paul Heinzman
[ Post Reply | Private Reply | To 1 | View Replies]

To: Paul Heinzman

3 posted on 03/19/2008 5:27:32 PM PDT by AntiKev (Von nichts kommt nichts.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Paul Heinzman

The primary purpose of the Data statement is to
give names to constants;
instead of referring to pi as 3.141592653589793
at every appearance, the variable Pi can be given
that value with a Data statement and used instead
of the longer form of the constant.
This also simplifies modifying the program, should
the value of pi change.

Fortran manual for Xerox Computers


4 posted on 03/19/2008 5:28:42 PM PDT by HuntsvilleTxVeteran (McCain, and or Huckabee will send a self-abused stomped elephant to the DRNC.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: AntiKev

Say what now?


5 posted on 03/19/2008 5:31:09 PM PDT by Paul Heinzman
[ Post Reply | Private Reply | To 3 | View Replies]

To: HuntsvilleTxVeteran
This also simplifies modifying the program, should the value of pi change

Hmmm. Xerox doesn't make computers anymore - I wonder why?

:-)
6 posted on 03/19/2008 5:43:56 PM PDT by PrairieDawg (I wonder - do the dead voters from NYC outnumber the upstate voters...?)
[ Post Reply | Private Reply | To 4 | View Replies]

To: PrairieDawg

Well, they didn’t word it well, but any digital rendering of PI will be off by a smidgen. In the FORTRAN manual, they were assuming a standard double precision decimal number. However, if a future version of FORTRAN (especially running under a 16 or 32 bit chip) might have more precision than what one could get on an old XEROX 820-II running FORTRAN. This way you get the benefit of the extra precision without having to rewrite that section of the program.

The value of Pi the number doesn’t change, but the value of Pi, the constant in FORTRAN might.


7 posted on 03/19/2008 6:11:15 PM PDT by Dr. Sivana (Not a newbie, I just wanted a new screen name.)
[ Post Reply | Private Reply | To 6 | View Replies]

To: Dr. Sivana
I guess I was being too literal - the value of pi won't change, but our ability to represent it will...

Floating point regards :-)
PrairieDawg
8 posted on 03/19/2008 7:53:51 PM PDT by PrairieDawg (I wonder - do the dead voters from NYC outnumber the upstate voters...?)
[ Post Reply | Private Reply | To 7 | View Replies]

To: Paul Heinzman

If pi is round than cornbread is squared.


9 posted on 03/19/2008 8:21:19 PM PDT by SamAdams76 (I am 41 days away from outliving Dan Quisenberry)
[ Post Reply | Private Reply | To 1 | View Replies]

To: PrairieDawg
This also simplifies modifying the program, should the value of pi change

Hmmm. Xerox doesn't make computers anymore - I wonder why?

Actually, if you're porting the program to a system that supports greater floating point precision (i.e. more digits to the right of the decimal), then the value of pi (as far as the computer hardware and program is concerned) WOULD change. So using the constant "pi" rather than the numeric value makes a lot of sense. Because the extra decimal places would be included in the libraries, and you wouldn't have to edit the source code, or patch the binaries.

Mark

10 posted on 03/19/2008 9:04:21 PM PDT by MarkL
[ Post Reply | Private Reply | To 6 | View Replies]

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.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson