## [TI-83+/84+]How I wish I could calculate pi...[TI-84+CSE][TI-84+CE]

Started by JWinslow23, March 25, 2016, 12:01:36 am

0 Members and 1 Guest are viewing this topic.

#### JWinslow23

##### March 25, 2016, 12:01:36 amLast Edit: April 21, 2016, 02:21:12 pm by DJ Omnimaga
...on my TI-83+ series of calculators.

Not to worry, though, Jeremy Gibbons and I have a solution for you!

Based on the findings in this mathematical paper, here is a TI-BASIC program that calculates one by one the digits of pi, with features such as:
* Arbitrary precision arithmetic simulated through lists
* An efficient decimal digit streaming algorithm
* Adequately optimized code (will optimize more, though)
* Author-verified to calculate more digits than he knows (and I know about 50 )
* A hidden feature...see if you can find it
* insert other stuff here

Download attached. Also, see if you can find the Easter egg, for twice as much fun!

EDIT: I modified the program because the display didn't quite work on the color calculators. Download the new version if you haven't already.

#### DJ Omnimaga

##### March 25, 2016, 12:02:50 am #1
I notice in the screenshot that it stops at 18. I assume that you pressed a key to quit? Or does it just stop randomly? That would be weird Anyway, that is pretty cool.

#### JWinslow23

##### March 25, 2016, 12:05:02 am #2
I did press a key to quit. You could calculate as long as the memory allows for. On monochrome calcs, I believe this is near 500, and on the CE, I was able to calculate 900 before my battery ran out

#### DJ Omnimaga

##### March 25, 2016, 12:08:50 am #3
Don't you mean we can calculate as long as the batteries survive? One interesting trick would be to see how fast it is on the 84+CSE, while still keeping an eye on the battery indicator and charge the calculator every once in a while. I don't know if the calculator can charge while it's busy, though (if that's the case you could always add a Pause option, though). Another issue is that the 84+CSE and especially the 84+CE seem to run much slower when connected to USB.

#### JWinslow23

##### March 25, 2016, 12:19:29 am #4
Quote from: DJ Omnimaga on March 25, 2016, 12:08:50 am
Don't you mean we can calculate as long as the batteries survive? One interesting trick would be to see how fast it is on the 84+CSE, while still keeping an eye on the battery indicator and charge the calculator every once in a while. I don't know if the calculator can charge while it's busy, though (if that's the case you could always add a Pause option, though). Another issue is that the 84+CSE and especially the 84+CE seem to run much slower when connected to USB.

Well, also as long as memory allows. But in the case of the CE, the batteries run out long before that limit is reached.

Also, has anyone discovered the Easter egg? Anyone who's seen me in IRC knows what I'm talking about

#### DJ Omnimaga

##### March 25, 2016, 02:17:20 am #5 Last Edit: March 25, 2016, 02:31:17 am by DJ Omnimaga
I didn't since I didn't have time to try the program, but I'll load it on TilEm now.

EDIT: I can't find any easter egg (even in the source)

#### JWinslow23

##### March 25, 2016, 03:20:16 am #6
Quote from: DJ Omnimaga on March 25, 2016, 02:17:20 am
EDIT: I can't find any easter egg (even in the source)

Oh, don't look in the source, my friend. Look in your heart. Or, more importantly, look at the number of radians of one full turn. Put it in your calculator, try and find that out.

#### JWinslow23

##### March 25, 2016, 05:56:10 pm #7
Bump.

I updated the program to actually have compatibility with color calulators (I was a full 26 off for one number ). Download the new version!

#### JWinslow23

##### March 26, 2016, 04:29:53 am #9
Quote from: DJ Omnimaga on March 26, 2016, 04:24:00 am