Homemade Pi

user_icon Paddle2See shared it 8 months, 1 week ago
279 views, 9 people love it, 4 taggers, 26 downloads, in 4 galleries
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

seabug seabug 2 months, 2 weeks ago

Hee Hee! I like the name!

(view all replies)
Comment Reply

bubble-07 bubble-07 3 months ago

I'm working on calculating pi with more integers... But in order to do so, I first had to teach scratch how to divide to a specified amount of decimal places. Teaching scratch how to divide was hard at first, but then I looked at how us normal humans do long division, and wrote down the steps. Then, I put it into scratch code. I've also taught scratch how to add in the format that I'm using. (lists, for really big numbers!!!!) Currently, scratch has only 1 decimal place. I made it infinite.

(view all replies)
Comment Reply

Paddle2See Paddle2See 3 months ago

Well, that's cool that you've built your own number representation to any precision you want! Amazing. However, Scratch carries far better than 1 decimal place of accuracy. It is true that it only SHOWS one decimal in it's results...but internally, the numbers are represented more accuratly. You can show this by multiplying the answers by 1000 or 10000 and looking at the results.

(view all replies)
Comment Reply

spedster777 spedster777 5 months, 2 weeks ago

just to let anyone know, einstein is not as smart as you think. E=mc(2) is not a formula. it is a algabreic expression so he is not knowing what E(2) is.

(view all replies)
Comment Reply

legolover legolover 5 months ago

Uh, yes it is. It means that Energy=Mass x Speed of Light Squared. Say Einstein knew the energy and mass of an object. He could take energy, divide it by mass, and take the square root to find the speed of light.

(view all replies)
Comment Reply

macasso macasso 6 months ago

awsumm..

(view all replies)
Comment Reply

macasso macasso 6 months, 1 week ago

E=mc2...pi...four score n, seven years ago... god i luv learning but im kinda getting sick of itt cuz the year's almost ova but at least im gonna get to go to this special camp from my school to walk (and talk!) it all off. :) but anyway cool i could have never figured this out on my own i mean just cuz im a computer geek doesn't mean i'm a complete wiz at math.

(view all replies)
Comment Reply

Paddle2See Paddle2See 6 months, 1 week ago

Sounds like you're ready for a vacation! I'm more of a math geek myself - I know enough programming to make the math work. Most of my math is nothing too fancy, with the exception of Perpetual Slinky where I actually got to use a tiny bit of Calculus!

(view all replies)
Comment Reply

Bobby500 Bobby500 6 months, 2 weeks ago

Okay, how does this formula work because I am not following. Yeesh, cats these days, never showing there work.

(view all replies)
Comment Reply

Paddle2See Paddle2See 6 months, 2 weeks ago

Well, this is a Series equation. You can learn about those in Wikipedia probably better than I can describe it here.

(view all replies)
Comment Reply

terminator68 terminator68 6 months, 2 weeks ago

I have a uestion, P2S. Is there a block inScratch that multiplies numbers to the power of (^). I'm doing a advanced project using a new block I discovered from another's project. It is called abs. I've seen it before, sso I'm testing with it. I'm trying to make a number, and mabye I'll then use algebra...but, the main question is, is there a ^ brick in Scratch?

(view all replies)
Comment Reply

Paddle2See Paddle2See 6 months, 2 weeks ago

I am sorry to say that there is not. That is pretty strange when you consider that they give you functions for Natural Logarithm (ln) and Eulers Constant raised to a power (e^) which are functions much less commonly used then the simple 'raised to a power' function. I don't know why it is not included.

(view all replies)
Comment Reply

Paddle2See Paddle2See 6 months, 2 weeks ago

Hey! I figured out a way to do it using the functions they give you. x^n = e^( n * ln(x)). So if 'x' is your number and 'n' is the power you want to raise it to, take the Natural Log (ln) of 'x', multiply that by 'n' then use that as a power on Euler's Constant (e^). That's a really ugly way to do it but it seems to work.

(view all replies)
Comment Reply

evanson827 evanson827 6 months, 2 weeks ago

sweet!! I love this!

(view all replies)
Comment Reply

likegames likegames 6 months, 4 weeks ago

i get it home made pi

(view all replies)
Comment Reply

likegames likegames 6 months, 4 weeks ago

pie

(view all replies)
Comment Reply

likegames likegames 6 months, 4 weeks ago

lol homemade pi yum i want to eat my _ ||

(view all replies)
Comment Reply

Llennoccm7 Llennoccm7 7 months ago

I love Knowlage!

(view all replies)
Comment Reply

Llennoccm7 Llennoccm7 7 months ago

I love math!

(view all replies)
Comment Reply

Bluekingice Bluekingice 7 months, 1 week ago

Woah!Thats awesome!

(view all replies)
Comment Reply

Paddle2See Paddle2See 7 months, 2 weeks ago

Sorry pieclip, you are wrong.

(view all replies)
Comment Reply

pieclip pieclip 7 months, 2 weeks ago

good but pi=3.1415962 not 3.1415926

(view all replies)
Comment Reply

fbboi999 fbboi999 8 months ago

that's not right hazelleafkitty... but o well

(view all replies)
Comment Reply

HazelleafKitty HazelleafKitty 8 months, 1 week ago

3.141592635 are the only numbers of pi that i can remember! happy pi day X3

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

Yes, that is truly amazing! However, it will give you the digits in base 16......

(view all replies)
Comment Reply

chalkmarrow chalkmarrow 8 months, 1 week ago

Amazing work. I was going to try this myself, but you got there first! Great job. For those who are interested, this method is unique in that it can compute any arbitrary digit without computing the previous digits.

(view all replies)
Comment Reply

maki maki 8 months, 1 week ago

you beat my pi calculator by a light year

(view all replies)
Comment Reply

maki maki 8 months, 1 week ago

wow

(view all replies)
Comment Reply

75zx 75zx 8 months, 1 week ago

YOUR VERY VERY VERY VERY VERY VERY VERY STILL SMART

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

75zx - No, I didn't figure out the formula...I just wrote the project that calculates values from it. Pi day is March 14 because it's the 14th day of the 3rd month so 3/14. The value of Pi is starts with the digits 3.14 so thats why 3/14 is Pi day.

(view all replies)
Comment Reply

75zx 75zx 8 months, 1 week ago

WOW DID YOU FIGER THAT ALL OUT IN YOUR HEAD AND WATS PI DAY???????????????

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

Thanks!

(view all replies)
Comment Reply

planetX planetX 8 months, 1 week ago

i like it better this way. now you can really see the change. great job on this project!

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

Reworked the project so all the intermediate answers are also shown - it's easier to see how the digits change with each iteration this way.

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

PlanetX - The authors of the formula are three people named Bailey, Borwein, and Plouffe (last names). I don't know their first names. You should download it to look at the coding, it is really very simple. Thanks for the idea of slowing it down a bit...I'll do that.

(view all replies)
Comment Reply

planetX planetX 8 months, 1 week ago

also, how did you manage to program it?

(view all replies)
Comment Reply

planetX planetX 8 months, 1 week ago

woah. now that you explained that to me, i can see how amazing that formula is. do you know who came up with it? also, this is just a suggustion, i think you should make it go a bit slower, so you can see how the number changes by the end, because i thought it went to fast when i watched it

(view all replies)
Comment Reply

LIGHTGUY LIGHTGUY 8 months, 1 week ago

Weird, it works.

(view all replies)
Comment Reply

Robin7 Robin7 8 months, 1 week ago

I will look at that site...

(view all replies)
Comment Reply

Robin7 Robin7 8 months, 1 week ago

Nice project! Pi is so cool. Hehe, I love all numbers. :)

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

If you want to learn more about series equations, try this website: http://mathrocks.thebernas.net/IntMath3/SequencesSeries/pages/arithseries/arithseriessig.htm

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

PlanetX - You can see the limits of the series at the bottom and top of the Sigma symbol.

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

PlanetX - This formula is an infinite series...to get the exact answer you would have to set the value of n to 0,1,2,3 ... all the way to infinity and add up different pieces (that sideways M symbol is called sigma and it means this is a series formula). Each time you change n you get a different "term", which just means piece of the formula. Even though you would have to add up an infinite number of terms to get an exact answer, you can see here that you get a pretty close answer after only adding up 10 terms - it "converges" on the final answer quickly.

(view all replies)
Comment Reply

planetX planetX 8 months, 1 week ago

what does it mean by terms?

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

See other Pi projects at (link to gallery)

(view all replies)
Comment Reply

Paddle2See Paddle2See 8 months, 1 week ago

Haven't a clue how BB & P came up with this amazing formula but it sure is impressive!

(view all replies)
Comment Reply