PDA

View Full Version : casio program


-=HN=- Wild9
10-02-01, 09:17 AM
here is a prog for the casio calculator that will calculate pi , well it will keep calculating pi to get a more exact number, anyone think they could convert this to my c++ or another language and compile it for me so i could run it on my comp?????

0->A~Z
1->C
1->B
Locate 1,1,"TRIES:"
Locate 1,3,"PI:"
Lbl 1
(4B^2)/(4(B^2)-1)*C->C
B+1->B
Locate 4,3,2C
Locate 7,1,B
Goto 1

Kryogenitor
10-10-01, 11:31 PM
I never learned to program on the calculator but run that algorithm to me in english and ill write it in java for you. Im bored and recursion over linked list items is taking a toll on my brain.