Armed Polite Society

Main Forums => The Roundtable => Topic started by: vaskidmark on March 14, 2013, 01:34:39 AM

Title: Happy Pi Day!
Post by: vaskidmark on March 14, 2013, 01:34:39 AM
March 14th.

Should we celebrate with pi jokes - sort of a pi in your face fest?

Regardless, just remember that without pi, it's just an onion.

stay safe.
Title: Re: Happy Pi Day!
Post by: French G. on March 14, 2013, 02:02:55 AM
Your posts prove that you are not rational.
Title: Re: Happy Pi Day!
Post by: HankB on March 14, 2013, 08:35:12 AM
Always had problems with the math formulas using pi they tried to teach us in grammar school - for example, why did they always insist pi are square when almost all pi are round?
Title: Re: Happy Pi Day!
Post by: Harold Tuttle on March 14, 2013, 08:40:41 AM
http://youtu.be/FHruAnxqVRM
Title: Re: Happy Pi Day!
Post by: Tallpine on March 14, 2013, 09:07:09 AM
Not many know that the fellow who discovered pi was Sir Cumfrence.   :angel:
Title: Re: Happy Pi Day!
Post by: 280plus on March 14, 2013, 09:36:28 AM
Cherry please!  =D
Title: Re: Happy Pi Day!
Post by: Devonai on March 14, 2013, 10:14:27 AM
I think I'll simplify things and wait until June 28th.

http://www.maa.org/Mathhorizons/apr12_aftermath.pdf
Title: Re: Happy Pi Day!
Post by: vaskidmark on March 14, 2013, 10:26:35 AM
Always had problems with the math formulas using pi they tried to teach us in grammar school - for example, why did they always insist pi are square when almost all pi are round?

So Devonai's concept solves your conundrum.  But that's because it's  rational, which proves it has nothing to do with pi.

Did I just say it was rational?  "Two pi = one pie"?  Sounds like a Democrat explaining why my fair share is bigger than their fair share until it comes to their fair share of what I have.

stay safe.
Title: Re: Happy Pi Day!
Post by: seeker_two on March 14, 2013, 12:58:52 PM
No matter how you slice it....today is a good day...

So.....baked pie or fried pie?.....
Title: Re: Happy Pi Day!
Post by: Boomhauer on March 14, 2013, 01:04:48 PM
Always had problems with the math formulas using pi they tried to teach us in grammar school - for example, why did they always insist pi are square when almost all pi are round?

Cobbler.
Title: Re: Happy Pi Day!
Post by: Scout26 on March 14, 2013, 01:12:55 PM
Apple, with whipped cream.


PS.  Pi are round, cornbread are square.
Title: Re: Happy Pi Day!
Post by: AZRedhawk44 on March 14, 2013, 02:07:20 PM
So Devonai's concept solves your conundrum.  But that's because it's  rational, which proves it has nothing to do with pi.

Did I just say it was rational?  "Two pi = one pie"?  Sounds like a Democrat explaining why my fair share is bigger than their fair share until it comes to their fair share of what I have.

stay safe.

Summing two irrational numbers does not yield a rational result.  Nor multiplying.  Quit trying to πrate the number and stuff a clearly round peg into a square hole.

(Alt+227)
Title: Re: Happy Pi Day!
Post by: lupinus on March 14, 2013, 05:39:51 PM
cornbread are square.
Da hell you say?
Title: Re: Happy Pi Day!
Post by: MrsSmith on March 14, 2013, 06:43:08 PM
Apple, with whipped cream.


PS.  Pi are round, cornbread are square.

Cornbread are round when cooked properly in a cast iron skillet. Silly yankee.
Title: Re: Happy Pi Day!
Post by: ArfinGreebly on March 14, 2013, 07:39:07 PM

*Goes to white board*

*Writes*

Pairs of first three odd numbers
...113355
Split into two three-digit groups
...113 _ 355
Swap the two groups, like so
...355 _ 113
Write as ratio
...355/113
Enjoy six digits of accuracy
...3.14159292
[Real pi]
...3.14159265359

Many years ago (like 1983 or 1984) I read one of the FORTH programming books, which had a cool table of rational approximations of various useful constants (like e, pi, and so on), and this very compact "rational pi" was one of them.

The next rational approximation which is more accurate involves memorizing two 5-digit numbers having no apparent relation to one another.  The 113355 --> 113 355 --> 355 113 --> 355/113 sequence is an easy mnemonic, so in my book it's a keeper.

Enjoy.
Title: Re: Happy Pi Day!
Post by: RoadKingLarry on March 15, 2013, 03:05:39 AM
Cornbread are round when cooked properly in a cast iron skillet. Silly yankee.

I don't own one but I have seen square cast iron skillets.
Title: Re: Happy Pi Day!
Post by: Boomhauer on March 15, 2013, 07:42:29 AM
Cornbread are round when cooked properly in a cast iron skillet. Silly yankee.

Oh *expletive deleted*ck no we are NOT restarting the cornbread wars. The DMZ is the Mason Dixon line. Dont bring your Northern Cornbread of Aggression down here
Title: Re: Happy Pi Day!
Post by: HankB on March 15, 2013, 08:09:52 AM
And then there's the pi stretcher . . .

Traditionally, restaurants, diners, and truck stops would cut a pi into six slices. But some genius came up with a pi cutting guide that had seven segments. Presto - they could now sell SEVEN slices from the same pi, and the size difference was such that almost none of the customers noticed.

Pi Profit!   >:D
Title: Re: Happy Pi Day!
Post by: lupinus on March 15, 2013, 08:22:23 AM
Oh *expletive deleted* no we are NOT restarting the cornbread wars. The DMZ is the Mason Dixon line. Dont bring your Northern Cornbread of Aggression down here
I recall no declaration of peace
Title: Re: Happy Pi Day!
Post by: vaskidmark on March 15, 2013, 09:25:12 AM
I recall no declaration of peace

There are some things that are part of the natural order of things.  Pi are round, and so am cornbread.

You want to go messing with Mother Nature (or worse, MrsSmith) let it be on your head.

stay safe.
Title: Re: Happy Pi Day!
Post by: Tallpine on March 15, 2013, 10:20:45 AM
I recall no declaration of peace

Don't you want a peace of pi  ???
Title: Re: Happy Pi Day!
Post by: MechAg94 on March 15, 2013, 10:52:45 AM
*Goes to white board*

*Writes*

Pairs of first three odd numbers
...113355
Split into two three-digit groups
...113 _ 355
Swap the two groups, like so
...355 _ 113
Write as ratio
...355/113
Enjoy six digits of accuracy
...3.14159292
[Real pi]
...3.14159265359

Many years ago (like 1983 or 1984) I read one of the FORTH programming books, which had a cool table of rational approximations of various useful constants (like e, pi, and so on), and this very compact "rational pi" was one of them.

The next rational approximation which is more accurate involves memorizing two 5-digit numbers having no apparent relation to one another.  The 113355 --> 113 355 --> 355 113 --> 355/113 sequence is an easy mnemonic, so in my book it's a keeper.

Enjoy.
Why would you go to all that trouble when it would be easier just to remember 3.14?  Those three digits alone will give you more accuracy than any real life measurements are likely to have in the first place. 
Title: Re: Happy Pi Day!
Post by: lupinus on March 15, 2013, 11:44:31 AM
Don't you want a peace of pi  ???
I like pi
Title: Re: Happy Pi Day!
Post by: ArfinGreebly on March 15, 2013, 03:00:45 PM

Why would you go to all that trouble when it would be easier just to remember 3.14?  Those three digits alone will give you more accuracy than any real life measurements are likely to have in the first place. 


I use that when I'm doing my moon shuttle gig.  It helps cut down on the course corrections.

 =D

It's one of those things you need as a programmer if you find yourself working on a small system (like embedded stuff) where the cost of implemented floating point math is just too great, either in extra circuitry or in extra memory.  Under conditions where the programmer is confined to using fixed-point (scaled integer) math, calculations involving transcendental numbers can still be done using integer multiply/divide sequences.  Need the area for a circle?  Have radius?  It's a simple matter to perform the integer multiplication:  V = R x R x 355, and then the integer divide A = V / 113.

People using computers running modern CPUs and floating-point co-processors don't worry about stuff like this.  People writing for 8-bit and 16-bit embedded processors have to pay attention to these things.

Yes, there are still systems that use low-end (inexpensive) processors, and you'd be amazed at the performance you can get from an 8051 or 6809 running at 12MHz if it's not running Windows or some other heavyweight OS.
Title: Re: Happy Pi Day!
Post by: geronimotwo on March 15, 2013, 03:36:45 PM
mmmmm pi.......blueberry with real whipped cream.....mmmm
Title: Re: Happy Pi Day!
Post by: Tallpine on March 15, 2013, 04:20:17 PM
I use that when I'm doing my moon shuttle gig.  It helps cut down on the course corrections.

 =D

It's one of those things you need as a programmer if you find yourself working on a small system (like embedded stuff) where the cost of implemented floating point math is just too great, either in extra circuitry or in extra memory.  Under conditions where the programmer is confined to using fixed-point (scaled integer) math, calculations involving transcendental numbers can still be done using integer multiply/divide sequences.  Need the area for a circle?  Have radius?  It's a simple matter to perform the integer multiplication:  V = R x R x 355, and then the integer divide A = V / 113.

People using computers running modern CPUs and floating-point co-processors don't worry about stuff like this.  People writing for 8-bit and 16-bit embedded processors have to pay attention to these things.

Yes, there are still systems that use low-end (inexpensive) processors, and you'd be amazed at the performance you can get from an 8051 or 6809 running at 12MHz if it's not running Windows or some other heavyweight OS.

#define pi 355/113;

 :cool:


Yeah, a lot of people don't realize that many aircraft systems are still 8 or 16 bit.
Title: Re: Happy Pi Day!
Post by: seeker_two on March 15, 2013, 11:11:15 PM
Yesterday, I ate cake.....

Today, I ate pie.....


.....I don't like people telling me when I can eat pie.....
Title: Re: Happy Pi Day!
Post by: Phantom Warrior on March 16, 2013, 01:55:08 AM
*Goes to white board*

*Writes*

Pairs of first three odd numbers
...113355
Split into two three-digit groups
...113 _ 355
Swap the two groups, like so
...355 _ 113
Write as ratio
...355/113
Enjoy six digits of accuracy
...3.14159292
[Real pi]
...3.14159265359

Many years ago (like 1983 or 1984) I read one of the FORTH programming books, which had a cool table of rational approximations of various useful constants (like e, pi, and so on), and this very compact "rational pi" was one of them.

The next rational approximation which is more accurate involves memorizing two 5-digit numbers having no apparent relation to one another.  The 113355 --> 113 355 --> 355 113 --> 355/113 sequence is an easy mnemonic, so in my book it's a keeper.

Enjoy.

This is literally one of the best things I've seen in a while.  It is now my Facebook status and I definitely told people about it today.
Title: Re: Happy Pi Day!
Post by: Boomhauer on March 16, 2013, 07:30:50 AM
This is literally one of the best things I've seen in a while.  It is now my Facebook status and I definitely told people about it today.

Do people just look at you when you tell them stuff like that, nod and slowly back away?
Title: Re: Happy Pi Day!
Post by: Tallpine on March 16, 2013, 11:18:34 AM
Do people just look at you when you tell them stuff like that, nod and slowly back away?

That sounds like a good technique to me  >:D
Title: Re: Happy Pi Day!
Post by: MrsSmith on March 20, 2013, 09:15:35 PM
My eyes glazed over by the time I got to "Enjoy six digits of accuracy ...."
Title: Re: Happy Pi Day!
Post by: Boomhauer on March 20, 2013, 09:17:07 PM
Hey jackwagons, I got pie today! Sweet tater pie.
Title: Re: Happy Pi Day!
Post by: lupinus on March 20, 2013, 09:34:53 PM
Hey jackwagons, I got pie today! Sweet tater pie.
Mmmm sweet taters pie.

Title: Re: Happy Pi Day!
Post by: Fly320s on March 21, 2013, 07:51:58 AM
#define pi 355/113;

 :cool:


Yeah, a lot of people don't realize that many aircraft systems are still 8 or 16 bit.

I think the Airbus is 4 bit. And that is on a good day.
Title: Re: Happy Pi Day!
Post by: Scout26 on March 21, 2013, 08:49:59 AM
We had harvest apple pie last night.  :P
Title: Re: Happy Pi Day!
Post by: Tallpine on March 21, 2013, 10:41:17 AM
I think the Airbus is 4 bit. And that is on a good day.

If I recall correctly from working on the A400, the ARINC system is 32 bit, which as you probably know actually only contains about 16 bits of data.  The rest is labeling, parity, etc.