MMM
Page 1 of 2 12 LastLast
Results 1 to 25 of 42

Thread: TI 84 Plus Calculator sPi

  1. #1
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038

    Red face TI 84 Plus Calculator sPi

    Here is my code for creating a sPi program for calculators. I know most people have the same calculator (84, 83, ...), but I just wanted to try this out. My problem is how to run calculation along side the timer function.

    Calculate pi:
    Code:
    1->S
    0->C
    
    For(A,1,4000,2)
    (4/(S*A))->B
    B+C->D
    D->C
    (-1*S)->S
    End
    
    Disp "Pi ="
    Disp (C+0.0005)    // Error correction due to using a small number. (4000)
    Output(1,1,"")
    Timer: (Sadly I didn't create this. This goes out to Ticalc.org.)
    Code:
    For(Z,0,9)
    
    For(X,0,59)
    
    For(M,0,99,7)
    Output(1,4,Z)
    Output(1,5,":")
    If X<=9
    Then
    Output(1,6,0)
    Output(1,7,X)
    Else
    Output(1,6,X)
    End
    
    Output(1,8,":")
    If M<=9
    Then
    Output(1,9,0)
    Output(1,10,M)
    Else
    Output(1,9,M)
    End
    
    End
    
    End
    
    End
    I can't seem to make it so that both run at the same time, and that the timer stops when Pi is found. I bet it is something obvious. (Sorry it has been a while since I have coded anything.)

    My goal will be to over clock my calculator.
    Last edited by Knight; 01-15-2008 at 05:54 PM.

  2. #2
    Xtreme Cruncher
    Join Date
    Jan 2007
    Location
    Massachusetts
    Posts
    715
    I'll take a look at those during Stats - plenty of free time there.

  3. #3
    Xtreme Guru
    Join Date
    May 2007
    Location
    Ace Deuce, Michigan
    Posts
    3,955
    I actually like making programs for my 84 silver, its fun and makes math homework quite a bit more efficient, not to mention its simple to do

    I'll put it in once I have some spare time, but I've never messed with timer functions so I may not be of much help
    Quote Originally Posted by Hans de Vries View Post

    JF-AMD posting: IPC increases!!!!!!! How many times did I tell you!!!

    terrace215 post: IPC decreases, The more I post the more it decreases.
    terrace215 post: IPC decreases, The more I post the more it decreases.
    terrace215 post: IPC decreases, The more I post the more it decreases.
    .....}
    until (interrupt by Movieman)


    Regards, Hans

  4. #4
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038
    Thank you both for the replies. I thank you for testing this stuff out.

    The timer is pretty basic. Not bad, but not the best. As long as we can all compare scores that were determined by the same timer.

    Is there a way to bypass "2nd" + "ON"? That would be heaven for some of my other work.
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Intel i7 3770k
    ░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ ASUS GTX680
    ░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░ ASUS Maximun V Gene
    ░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░ Mushkin 8GB Blackline
    ░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█░░░░ Crucial M4 256GB
    ░░░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█░░░ Hitachi Deskstar 2TB x2
    ░░█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█░░ FSP 750W Gold
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Fractal Arc Mini

  5. #5
    Xtreme Cruncher
    Join Date
    Jan 2007
    Location
    Massachusetts
    Posts
    715
    Quote Originally Posted by Knight View Post
    Thank you both for the replies. I thank you for testing this stuff out.

    The timer is pretty basic. Not bad, but not the best. As long as we can all compare scores that were determined by the same timer.

    Is there a way to bypass "2nd" + "ON"? That would be heaven for some of my other work.
    For shutting down the calculator? It times itself to shut down by inactivity also, but otherwise, not really. "Alpha" + "ON" also works for some methods.

  6. #6
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038
    Quote Originally Posted by MotF Bane View Post
    For shutting down the calculator? It times itself to shut down by inactivity also, but otherwise, not really. "Alpha" + "ON" also works for some methods.
    I should have been more clear. You know when you run a program that takes a long time to finish? Well when you hit the "2nd" key or the "Alpha" key then "ON" the program breaks with an error. I want to disable that break so that the program can't end.
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Intel i7 3770k
    ░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ ASUS GTX680
    ░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░ ASUS Maximun V Gene
    ░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░ Mushkin 8GB Blackline
    ░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█░░░░ Crucial M4 256GB
    ░░░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█░░░ Hitachi Deskstar 2TB x2
    ░░█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█░░ FSP 750W Gold
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Fractal Arc Mini

  7. #7
    Xtreme Cruncher
    Join Date
    Jan 2007
    Location
    Massachusetts
    Posts
    715
    Quote Originally Posted by Knight View Post
    I should have been more clear. You know when you run a program that takes a long time to finish? Well when you hit the "2nd" key or the "Alpha" key then "ON" the program breaks with an error. I want to disable that break so that the program can't end.
    Just the "ON" key by itself is enough to error the program out. I do not believe it is possible to disable that - it might be a safety code as a precaution. We have Ctrl + Alt + Delete for computers, calculators have their "ON" button.

  8. #8
    Mr. Boardburner
    Join Date
    Jun 2005
    Location
    the Netherlands
    Posts
    5,340
    Oh, I'll see if I can run this on my TI83... I need to overclock it now
    Main rig:
    CPU: I7 920C0 @ 3.6Ghz (180*20)
    Mobo: DFI UT X58 T3eH8
    RAM: 12GB OCZ DDR3-1600 Platinum
    GPU/LCD: GeForce GTX280 + GeForce 8600GTS (Quad LCDs)
    Intel X25-M G2 80GB, 12TB storage
    PSU/Case: Corsair AX850, Silverstone TJ07

  9. #9
    -100c Club
    Join Date
    Jun 2005
    Location
    Slovenia, Europe
    Posts
    2,283
    Hehe, i have Ti-92, will try it soon.

  10. #10
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038
    Quote Originally Posted by Martijn View Post
    Oh, I'll see if I can run this on my TI83... I need to overclock it now
    The sPi and Timer function both work independently. I need someone smarter than myself to try and combine to two so that we don't need to use an outside timer. (ie: stopwatch) But by all means go ahead and try this out. Let us know what you experience.

    Quote Originally Posted by tiborrr View Post
    Hehe, i have Ti-92, will try it soon.
    I would love to see what we can get out of that. I have never heard of the Ti-92 and of its CPU. Could be fast.
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Intel i7 3770k
    ░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ ASUS GTX680
    ░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░ ASUS Maximun V Gene
    ░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░ Mushkin 8GB Blackline
    ░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█░░░░ Crucial M4 256GB
    ░░░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█░░░ Hitachi Deskstar 2TB x2
    ░░█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█░░ FSP 750W Gold
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Fractal Arc Mini

  11. #11
    -100c Club
    Join Date
    Jun 2005
    Location
    Slovenia, Europe
    Posts
    2,283
    Man, cant seem to find the PC cable. Anyone got any eBay links to buy one?

  12. #12
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038
    Quote Originally Posted by tiborrr View Post
    Man, cant seem to find the PC cable. Anyone got any eBay links to buy one?
    Sorry, Ebay is new to me, so forgive me if I post something wrong.

    http://search.ebay.com/search/search...ble&category0=

    USB?:

    http://cgi.ebay.com/TI-84-Silver-USB...QQcmdZViewItem
    Last edited by Knight; 01-24-2008 at 04:45 PM.
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Intel i7 3770k
    ░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ ASUS GTX680
    ░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░ ASUS Maximun V Gene
    ░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░ Mushkin 8GB Blackline
    ░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█░░░░ Crucial M4 256GB
    ░░░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█░░░ Hitachi Deskstar 2TB x2
    ░░█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█░░ FSP 750W Gold
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Fractal Arc Mini

  13. #13
    Banned
    Join Date
    Jun 2006
    Location
    Durham, NC
    Posts
    2,877
    I know the 84-Plus uses a 15MHz Zilog processor, not sure about the 92s. I stumbled across a site one night where a guy hardmodded his calculator(s). I'll look for that.

    Ah, here's something: http://en.wikipedia.org/wiki/Compari...ng_Calculators

    Apprently this TI-Nspire has a 150MHz CPU? Hard to believe. But I was thinking the TI-92 used a Motorola processor, and it turns out it does.

    Found it! http://richfiles.solarbotics.net/Turbo.html
    Last edited by Omastar; 01-24-2008 at 04:54 PM.

  14. #14
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038
    Quote Originally Posted by Omastar View Post
    I know the 84-Plus uses a 15MHz Zilog processor, not sure about the 92s. I stumbled across a site one night where a guy hardmodded his calculator(s). I'll look for that.

    Ah, here's something: http://en.wikipedia.org/wiki/Compari...ng_Calculators

    Apprently this TI-Nspire has a 150MHz CPU? Hard to believe. But I was thinking the TI-92 used a Motorola processor, and it turns out it does.

    Found it! http://richfiles.solarbotics.net/Turbo.html
    Thank you for the information.

    I might be able to get my hands on a friends 83, so that I can try that hard mod.
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Intel i7 3770k
    ░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ ASUS GTX680
    ░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░ ASUS Maximun V Gene
    ░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░ Mushkin 8GB Blackline
    ░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█░░░░ Crucial M4 256GB
    ░░░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█░░░ Hitachi Deskstar 2TB x2
    ░░█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█░░ FSP 750W Gold
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Fractal Arc Mini

  15. #15
    Xtreme Cruncher
    Join Date
    Mar 2005
    Location
    Houston
    Posts
    1,066
    i overclocked an 83 back in the day by changing out one of the resistors, it made it about twice as fast. Games were crazy fast on it.

    It was my first overclock.

    312 Xeon Threads + GTX 1080 + GTX 1070 + BFL Monarch 700

  16. #16
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038
    Quote Originally Posted by KaptainBlaZzed View Post
    i overclocked an 83 back in the day by changing out one of the resistors, it made it about twice as fast. Games were crazy fast on it.

    It was my first overclock.
    How long was the battery life? I might use some cells that have more capacity to keep the thing alive for a while.
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Intel i7 3770k
    ░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ ASUS GTX680
    ░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░ ASUS Maximun V Gene
    ░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░ Mushkin 8GB Blackline
    ░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█░░░░ Crucial M4 256GB
    ░░░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█░░░ Hitachi Deskstar 2TB x2
    ░░█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█░░ FSP 750W Gold
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Fractal Arc Mini

  17. #17
    Registered User
    Join Date
    Mar 2007
    Posts
    6
    I overclocked my TI-83 from 6MHz to 15MHz by swapping a capacitor, not resistor, I think. it should be C06 or something. My memory fails me.

    But to run both at the same time, you need to learn TI ASM language. The TI assembly language allows more functions than TI-BASIC, including calculations beyond the standard variable length and archive/unarchive functions in addition to anything else you can do with a calculator. TICALC.org should have an SDK for it, or at least a link to it.

  18. #18
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038
    Quote Originally Posted by PCTC3 View Post
    I overclocked my TI-83 from 6MHz to 15MHz by swapping a capacitor, not resistor, I think. it should be C06 or something. My memory fails me.

    But to run both at the same time, you need to learn TI ASM language. The TI assembly language allows more functions than TI-BASIC, including calculations beyond the standard variable length and archive/unarchive functions in addition to anything else you can do with a calculator. TICALC.org should have an SDK for it, or at least a link to it.
    Oh cool. I will check that out.

    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Intel i7 3770k
    ░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ ASUS GTX680
    ░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░ ASUS Maximun V Gene
    ░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░ Mushkin 8GB Blackline
    ░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█░░░░ Crucial M4 256GB
    ░░░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█░░░ Hitachi Deskstar 2TB x2
    ░░█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█░░ FSP 750W Gold
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Fractal Arc Mini

  19. #19
    Xtreme Enthusiast
    Join Date
    Jan 2006
    Location
    New Hampshire (USA)
    Posts
    998
    It looks like this thread may have died but it was a great read! I'm currently in graduate school for mechanical engineering so this type of thing is pretty cool to me! I had no idea that this stuff was even possible on a calculator! I have a TI-83, TI-86, and of course a TI-89. I very rarely use my TI-89 so maybe that will be the test bed for trying this mods? I will post back any results and big mistakes I make. Thanks for all the great information regarding modifying our calculators
    Asus Maximus III Formula (2001)
    Intel i7 860 (L924B516)
    Noctua D14
    Corsairs CMG4GX3M2A2000C2 (2 x 2GB) RAM
    eVGA GTX480
    DD-H20
    BIX GTX360
    MCP35X PWM
    Creative X-Fi Titanium PCI-e
    LG GGC-H20L Blu-Ray
    Toughpower 850w Modular
    GSkill Phoenix Pro SSD 120GB


    HEAT

  20. #20
    Xtreme Member
    Join Date
    Nov 2007
    Location
    ch
    Posts
    205
    Graph the equation of y=sqrt(20000squared-xsquared) and get the integral from 0 to 20000. The result is 314159265.

  21. #21
    Xtreme Member
    Join Date
    Oct 2005
    Location
    NYC
    Posts
    280
    Doesn't the 89 (and therefore the92) have the means to keep time internally? I'm pretty sure it does. It might just be a matter of implementing a "gettime()" function twice and then subtracting.
    DFI LP UT P35-T2R | E8400 Q743A748 - IHS removed
    Team Xtreme PC2 9600 2x1GB | Auzentech XPlosion
    PCP+C Silencer 750W | 2x36GB Raptors RAID-0 | XFX 7800GT
    Iwaki MD20-RZT | FuZion - 4.4mm - modified ProMount | PA120.3

  22. #22
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038
    Quote Originally Posted by ixtapalapaquetl View Post
    Doesn't the 89 (and therefore the92) have the means to keep time internally? I'm pretty sure it does. It might just be a matter of implementing a "gettime()" function twice and then subtracting.
    Will have to ask my friend. He is the only one who I know of that has the 89/92. Will look on the internet about this.

    Thanks,
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Intel i7 3770k
    ░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ ASUS GTX680
    ░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░ ASUS Maximun V Gene
    ░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░ Mushkin 8GB Blackline
    ░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█░░░░ Crucial M4 256GB
    ░░░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█░░░ Hitachi Deskstar 2TB x2
    ░░█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█░░ FSP 750W Gold
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Fractal Arc Mini

  23. #23
    Xtreme Member
    Join Date
    Oct 2005
    Location
    NYC
    Posts
    280
    SUCCESS! This is so effin cool!

    There are a few 89-related syntax modifications to your original code, but all I really did was add in a couple gettime()'s and converted the difference (in {hr,min,sec} format) to seconds in order to prevent negative values from popping up. Note that the Clock must be manually enabled: Home -> F1 -> B and then set time and date. Unfortunately, the Clock does not seem to work on Virtual TI, so we can't run the emulator realtime on our computers...

    Code:
    spi89()
    Prgm
    ClrIO
    getTime()->ti
    1->s
    0->c
    For a,1,4000,2
    4/(s*a)->b
    b+c->d
    d->c
    -1*s->s
    EndFor
    getTime()->tf
    tf-ti->dt
    3600*dt[1]+60*dt[2]+dt[3]->tpi
    Disp "pi="
    Disp c+.0005
    Disp "time="
    Disp tpi
    EndPrgm
    Check it out!

    102 seconds!!! Does this qualify as the current WR? Time for some memory tweaks!!!

    Great work Knight! Obviously, feel free to modify any ugly code - my programming skills are limited to TI calculators, and thus may be substandard!
    DFI LP UT P35-T2R | E8400 Q743A748 - IHS removed
    Team Xtreme PC2 9600 2x1GB | Auzentech XPlosion
    PCP+C Silencer 750W | 2x36GB Raptors RAID-0 | XFX 7800GT
    Iwaki MD20-RZT | FuZion - 4.4mm - modified ProMount | PA120.3

  24. #24
    Xtreme Enthusiast
    Join Date
    Jan 2006
    Location
    New Hampshire (USA)
    Posts
    998
    Quote Originally Posted by ixtapalapaquetl View Post
    SUCCESS! This is so effin cool!

    There are a few 89-related syntax modifications to your original code, but all I really did was add in a couple gettime()'s and converted the difference (in {hr,min,sec} format) to seconds in order to prevent negative values from popping up. Note that the Clock must be manually enabled: Home -> F1 -> B and then set time and date. Unfortunately, the Clock does not seem to work on Virtual TI, so we can't run the emulator realtime on our computers...

    Code:
    spi89()
    Prgm
    ClrIO
    getTime()->ti
    1->s
    0->c
    For a,1,4000,2
    4/(s*a)->b
    b+c->d
    d->c
    -1*s->s
    EndFor
    getTime()->tf
    tf-ti->dt
    3600*dt[1]+60*dt[2]+dt[3]->tpi
    Disp "pi="
    Disp c+.0005
    Disp "time="
    Disp tpi
    EndPrgm
    Check it out!

    102 seconds!!! Does this qualify as the current WR? Time for some memory tweaks!!!

    Great work Knight! Obviously, feel free to modify any ugly code - my programming skills are limited to TI calculators, and thus may be substandard!
    Would it be possible to do this on a TI-86 and if so how would the code differ from the above? Oh yeah, great job ixtapalapaquet that is very cool indeed! I would love to get this working on my TI-86 and then show it off to my math geek friends at school (I would be the king of cool), lol! I was just thinking about how geeky I must be to get excited about this, lol!
    Asus Maximus III Formula (2001)
    Intel i7 860 (L924B516)
    Noctua D14
    Corsairs CMG4GX3M2A2000C2 (2 x 2GB) RAM
    eVGA GTX480
    DD-H20
    BIX GTX360
    MCP35X PWM
    Creative X-Fi Titanium PCI-e
    LG GGC-H20L Blu-Ray
    Toughpower 850w Modular
    GSkill Phoenix Pro SSD 120GB


    HEAT

  25. #25
    Xtreme Addict
    Join Date
    Sep 2006
    Posts
    1,038
    Quote Originally Posted by ixtapalapaquetl View Post
    SUCCESS! This is so effin cool!

    There are a few 89-related syntax modifications to your original code, but all I really did was add in a couple gettime()'s and converted the difference (in {hr,min,sec} format) to seconds in order to prevent negative values from popping up. Note that the Clock must be manually enabled: Home -> F1 -> B and then set time and date. Unfortunately, the Clock does not seem to work on Virtual TI, so we can't run the emulator realtime on our computers...

    Code:
    spi89()
    Prgm
    ClrIO
    getTime()->ti
    1->s
    0->c
    For a,1,4000,2
    4/(s*a)->b
    b+c->d
    d->c
    -1*s->s
    EndFor
    getTime()->tf
    tf-ti->dt
    3600*dt[1]+60*dt[2]+dt[3]->tpi
    Disp "pi="
    Disp c+.0005
    Disp "time="
    Disp tpi
    EndPrgm
    Check it out!

    ...


    102 seconds!!! Does this qualify as the current WR? Time for some memory tweaks!!!

    Great work Knight! Obviously, feel free to modify any ugly code - my programming skills are limited to TI calculators, and thus may be substandard!
    You are added onto my hero list. The use of the getTime function was smart. Is it confirmed that it is not possible on a 83/84?

    Great work.

    More efficient coding might be determined by the method in which we calculate Pi itself. Of course I will experiment, and clean it up. So this can be our first version.
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Intel i7 3770k
    ░░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░░░ ASUS GTX680
    ░░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░░ ASUS Maximun V Gene
    ░░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░░ Mushkin 8GB Blackline
    ░░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█░░░░ Crucial M4 256GB
    ░░░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█░░░ Hitachi Deskstar 2TB x2
    ░░█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█░░ FSP 750W Gold
    ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ Fractal Arc Mini

Page 1 of 2 12 LastLast

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •