Share your repls and programming experiences

← Back to all posts
Pi day!

# 𝜋 day!

Hello everyone! Did you know that tomorrow today is 3/14?

And do you know what 3/14 looks like?

`3.14`!

And what is `3.14`?
The first 3 digits of 𝜋!

## Countdown

This countdown will count all the days, hours, minutes, and seconds until 𝜋 day! Get ready to memorize 100 digits of pi!

## Challenge

I can memorize 28 digits of pi!

``3.14159265358979323846264338``

Can you do better? No looking at any works of reference or any websites that relate to 𝜋 in any way.

## Challenge 2

Create a project in any language related to 𝜋! Post them here and I will put them in a new gallery!

If we can get to 3 votes, it would be close enough to 𝜋 :/ Reached!
If we can get to 31 votes, it would be even closer to 𝜋⨯10 :) Reached!
If we can get to 314 votes, it would be even closer to 𝜋⨯100 :D

# 3.14159265358979323846264338

Even if you can't remember that many digits, at least know

``3.14``

before 𝜋 day!

## Fun game!

What is 𝜋?
𝜋 is an irrational number meaning it never terminates (stops), and it has no human-distinguishable pattern to it. (meaning the numbers are near random to the human).
𝜋 seems pretty useless...
𝜋 is anything but useless! You can use it to calculate the area of a circle: 𝜋r², and the surface area of a sphere: 4𝜋r² and basically calculate the areas, surface areas, and volumes of anything round.
How do you derive 𝜋?
Cut out a circle, and measure along the sides (circumference).
Then, measure the diameter. To find it, move your ruler along the circle and measure the lengths. The longest length is the diameter.
Now, your approximation of 𝜋 is `circumference ÷ diameter`.

JDOG787 (416)

i 8 ∑ π and it was delicious.

DylanStrudwick (1)

@JDOG787 i have a jumper with that on

JDOG787 (416)

@DylanStrudwick I have I shirt with that on it too. :)

Evanlicious (84)

@JDOG787 I ate some (sigma = sum) pie!

JDOG787 (416)

@Evanlicious finally people that understand that. I have a shirt with that or it and a lot of people don't get it. lol

Evanlicious (84)

@JDOG787 I had to look up the sigma part, but the rest I got immediately. (Probably because of that 789 joke.)

Coder100 (12577)

lol sigma = sum = 𝚺 = 𝛔 lol @JDOG787

Coder100 (12577)

lol
Summations can be found commonly in statistics. @Evanlicious

JDOG787 (416)

@Coder100 do you want to work on code jam?

JDOG787 (416)

@Coder100 ya go on our repl. ill talk to you

JDOG787 (416)

@Coder100 its out look on discord

JDOG787 (416)

@Coder100 do you want to work on code jam?

JDOG787 (416)

@Coder100 do you want to work on code jam?

JDOG787 (416)

I used to know like 30 or 40 digits of pi. Cool program.

Coder100 (12577)

thanks!
RIP most people in my school know 15-20 digits :P @JDOG787

JDOG787 (416)

@Coder100 I thought I was fun to see how many digits I could remember. I would learn like 5 digits at a time.

Coder100 (12577)

noice that's how I did it but 1 digit/day
then 𝜋 day passed for a long time
and I'm now stuck at 18 :P @JDOG787

JDOG787 (416)

@Coder100 lol. im going to see how much I can do sense tomorrow is pi day.

Coder100 (12577)

Can't do much tho.

I got EXP to work!

So now we just need to finish load out :) @JDOG787

JDOG787 (416)

@Coder100 I finished the progress bar

Coder100 (12577)

Sorry I can't get on and merely give suggestions

JDOG787 (416)

@Coder100 ok. so you mean make it centered for the big screen?

bgrubert (178)

@JDOG787 3.141592653589793238462643383279502 - 33 digits
Update: 3.1415926535897932384626433832795028841971693993751058 - 54 digits

[deleted]

Time to eat 3.14159265358979323846264338 pies!

[deleted]
Coder100 (12577)

314.1592653589793238462642338! @CodeABC123

Nemoiscool (47)

@CodeABC123 The best time to do so is 3/14 at 1:59:26.

Coder100 (12577)

lol actually
3/14 at 1:59:26.54 @Nemoiscool

Nemoiscool (47)

@Coder100 Yeah, but I figured that wouldn't be enough time to eat 3.14 pies.

Coder100 (12577)

lol, I can't eat 3 pies in a second either :P @Nemoiscool

Nemoiscool (47)

@Coder100 Perhaps not, but which is more plausible? 3 pies in a second, or three pies in a hundredth of a second?

Nemoiscool (47)

@Nemoiscool Also, the size of these pies was not specified.

Coder100 (12577)

It's not too late!

LizFoster (644)

I tried to show my fellow classmates some pi-related equations, but they told me to shut up. Glad I have some kind of outlet to show my love of math, ha ha

Coder100 (12577)

Lol 😂 happens here too @LizFoster

LizFoster (644)

@Coder100 Nyahaha! I wish they could see how awesome and important math is (Lol)

[deleted]

Let’s get ready to eat 100 pies!

[deleted]

Do you know super pi second? That’s when all the numbers in the date, including the exact time of day(even seconds!) match to pi. The last one was in 2015.

Coder100 (12577)

Mmmmm
I did not
Next one: 2115 @CodeABC123

Warhawk947 (534)

day guys (really cool project btw)

[deleted]

Wow. Amazing and confusing math. Just the math that I like! @Warhawk947

Coder100 (12577)

Noice I would contribute 3 more but I'm too lazy :p @Warhawk947

RohilPatel (1457)

Let's use those definite integrals! I would hate to do that question, but I'm pretty sure the answer is rational. So therefore, it's not pi @Warhawk947

Warhawk947 (534)

@RohilPatel idk, i just copied these off of a pi equation wbsite

sugarfi (602)

Great design! we need 31 upvotes

Highwayman (1439)

@sugarfi hmmm people have gotten over 400 before, so we prob could do 314 if we tried...

sugarfi (602)

@Highwayman yeah, we just have to make a one-line post... like a single call to `input` and `eval`, or better yet, a hello world program...

Coder100 (12577)

IKR hopefully once there are more mods, posts that are actually quality will get 400 votes :) @Highwayman

oignons (313)

@sugarfi what a sad, apocalyptic reality
Pi countdown gets 36 votes(incl mine)
`print(3)`gets 88 or something(not incl me)

sugarfi (602)

@ipastrano `print(eval(input()))` (not even a `while`!) gets 88 as well

oignons (313)

@sugarfi ;-; it didn't even do anything...

oignons (313)

@Coder100 ye. i wanna be a mod :)

Coder100 (12577)

Thank You Very Much!
How Many Digits Of Pi Can You Memorize? @MoreFlameFire63

oignons (313)

22/7
or
3.141526535(rip me :/)

oignons (313)

@Coder100 :P when will u be able to work on surviv3?

Coder100 (12577)

Ye, I will after 2:30 CST @ipastrano

oignons (313)

@Coder100 k, i live on pst so 10 mins from now :)

JDOG787 (416)

@Coder100 Do you want to work on Surviv3.io?

Zyphery (8)

Pi day is my birthday, so I kind of do have to celebrate it anyway. go π!

RohilPatel (1457)

My birthday is the last day of the year, so the world celebrates mine ;) @Zyphery

[deleted]

Pi day is today!!

Coder100 (12577)

Yay!!

``3.1415926535897932384626``
[deleted]

@Coder100 when i get home im making oreo crust pie with cream filling! \(0.0)/

[deleted]

@Coder100 u should be, its absolutely amazing

DeBeast591 (134)

Awesome! I can memorize 3.141... (thats it...)

Wilke000 (504)

Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie Eat Pie

Coder100 (12577)

Mmmm yes
What's your favorite kind? Mine is apple @IndyCarter

DeBeast591 (134)

@Coder100, my fav. is pie flavored.

Wilke000 (504)

Pie flavored pi! I love it sooooooo much @DeBeast591 !!!!!!!!

Wilke000 (504)

Chocolate @ipastrano Chocolate!!!!!!!!!

oignons (313)

@IndyCarter ye, i like chocolate, but apple is king ;)

Wilke000 (504)

hmmmmmmmm.................... @ipastrano

oignons (313)

@IndyCarter hmmmmmmmmmmmmmmmmmmmmmmmm

oignons (313)

@IndyCarter it tastes fresh, I like fruit, and it's a classic :D

oignons (313)

@IndyCarter i guess, but it is a bit heavy in pie :/

Wilke000 (504)

yeah i guess @ipastrano
CHOCOLATE RULES!!!!!!!!

LiamDonohue (295)

tell Miko that pi is proof that humans are more random @Coder100

LiamDonohue (295)

I'm excited I'm setting up a MySQL server tonight @Coder100

usfun (0)

I used to be able to memorize 32 digits

Two years ago. My brains a bit fuzzzzyyyyyyyyy

usfun (0)

hmmm,
3.1415926535897932384626433832940

Wait how many digits is that, and is it correct(I’m too lazzzyyyyy)

bgrubert (178)

I know it's too late but can you please add my pi-day code? https://pi-calculator.bgrubert.repl.co/ @Coder100

Coder100 (12577)

Sure! You have been added! @bgrubert

Coder100 (12577)

No problem!
It's the coolest one I've seen in terms of math...
Would you like to walk me through on how it works? @bgrubert

bgrubert (178)

@Coder100 The code creates 2 very large numbers which are used to create another very large number like 3141592653589793238... It then cuts off the last 20 digits which aren't accurate digits of pi and outputs the result.

JDOG787 (416)

@Coder100 Do you want to work on surviv3?

Coder100 (12577)

Sure! Meet you in 10!
Gotta do a few errands @JDOG787

JDOG787 (416)

@Coder100 Do you want to work on surviv3?

JDOG787 (416)

do you want to work on surviv3? @Coder100

bgrubert (178)

Here is my pi calculator for help memorizing digits: https://repl.it/talk/share/Pi-Calculatorn-digits/30507! You can post it on here?

MATHyou (34)

I know 4 more digits than you :)
3.141592653589793238462643383279

Coder100 (12577)

Do you have any pi projects that you made? @MATHyou

bgrubert (178)

@MATHyou I know 3 digits more than you
3.141592653589793238462643383279502

MATHyou (34)

@Coder100 No. Yours is really good though!

I can do about 200 or more idk digits

Coder100 (12577)

Nice job! That is actually 1695 digits! @advaydhiraj