Hey я'll,
A friend ["friend" from now on for anonymity they requested], is on a mission trip in Brasil right now, and cannot talk to me because of religious rules. Friend has sent me a program for the Ti-84PCE calculator that calculates pi. A masochist I am, of course want to put this on an almost-three-decades-old calculator, namely the Ti-82. If you saw my most recent post, this is specifically talking about the Ti-82 Parcus [with an optimised PCB and firmware to pair], the one that I have received in the mail today [hekin early!]. This specific model of the Ti-82 [in my sieve prime generator testing I do on my calcs], significantly outperforms the 1995 model I had first. That, is why i chose this model, so it's a little less painful to run.
Here's the program :
Code:
Here's where you's come in. I've seen what this rand(a) site on the interwebs can do. Cemetech, could you find a way to fix that line [see comment] for the Ti-82, I frankly couldn't find a way.
Thank.
Peace
--izder456
A friend ["friend" from now on for anonymity they requested], is on a mission trip in Brasil right now, and cannot talk to me because of religious rules. Friend has sent me a program for the Ti-84PCE calculator that calculates pi. A masochist I am, of course want to put this on an almost-three-decades-old calculator, namely the Ti-82. If you saw my most recent post, this is specifically talking about the Ti-82 Parcus [with an optimised PCB and firmware to pair], the one that I have received in the mail today [hekin early!]. This specific model of the Ti-82 [in my sieve prime generator testing I do on my calcs], significantly outperforms the 1995 model I had first. That, is why i chose this model, so it's a little less painful to run.
Here's the program :
Code:
1->C
ClrHome
Input "Total Interations",I
Input "Max Value",M
Disp "Estimate of π"
Disp ""
Disp "I="
For(A,0,1)
randInt(0,M)->F
randInt(0,M)->G
If gcd(F,G)=1 // this line isn't possible on the Ti-82
C+1->C
√(6A/C)->P
Output(4,1,P)
Output(5,3,A)
End
Here's where you's come in. I've seen what this rand(a) site on the interwebs can do. Cemetech, could you find a way to fix that line [see comment] for the Ti-82, I frankly couldn't find a way.
Thank.
Peace
--izder456