Hi guys....i want to create a program to calculate pi. on a computer...i was gonna chuck in the bin.
Then i thought....why not calculate pi on it for a couple of years?
So now i want to calculate pie!!
Thing is Redundancy is an issue. the values must be stored to harddrive as it is calculated and not to RAM. becuase the value can become very large
i will be using this formula for pi :
pi/4 = 1 -1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 - 1/15 .....etc
(hope you can see the pattern)
I think i can use a loop since the value gets smaller the further you go on...only the last part of the number is required each time...So the rest of the digits can be stored to ROM.
so lets Start coding!!!!
But first (because im not an excelent mathematician ...."YET")
If pi/4 = 1 -1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 - 1/15 can i do
pi = (4) - 4(1/3) + 4(1/5) - 4(1/7) etc?
Then i thought....why not calculate pi on it for a couple of years?
So now i want to calculate pie!!
Thing is Redundancy is an issue. the values must be stored to harddrive as it is calculated and not to RAM. becuase the value can become very large
i will be using this formula for pi :
pi/4 = 1 -1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 - 1/15 .....etc
(hope you can see the pattern)
I think i can use a loop since the value gets smaller the further you go on...only the last part of the number is required each time...So the rest of the digits can be stored to ROM.
so lets Start coding!!!!
But first (because im not an excelent mathematician ...."YET")
If pi/4 = 1 -1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 - 1/15 can i do
pi = (4) - 4(1/3) + 4(1/5) - 4(1/7) etc?
Comment