r/TIBASICPrograms • • Mar 04 '17

Tip for downloading and uploading programs

8 Upvotes

Hello everyone!

As many of you already know, anyone can use TI Connect and a link cable to easily upload and download program (.8XP) files to and from TI calculators. What I'd like to remind everyone of is Cemetech's online TI-Basic IDE.

Since the IDE easily allows you to convert between .8XP files and plaintext, you don't have to manually type up programs in order to share them: you can just upload them and paste the text version. Moreover, when you see a program posted here, you can easily convert it to a .8XP file to send to your calculator.

If you know of any other online tools that could help the community, feel free to share them here in the comments.


r/TIBASICPrograms • • Feb 28 '16

FOR YOU UNDERTALE FANS!!!

Thumbnail
imgur.com
8 Upvotes

r/TIBASICPrograms • • Dec 25 '15

[Tip] Detecting whether or not a program is being run on a CSE/CE

8 Upvotes

This is a really handy trick that I haven't seen used before that lets you know if a program is being run on a TI-84+CSE/CE, and conversely, if it isn't. It's really simple actually:

0->Xmin
1->ΔX
Xmax=264->A

If A equals 1 after running this code, the program is being run on a TI-84+CSE/CE. If it's 0, it's running on something else. This could be used for proper UI scaling, knowing whether or not to use colors when drawing on the graph screen, et cetera.


r/TIBASICPrograms • • Mar 19 '14

AHHHH I JUST FOUND THE BEST SUB EVER

8 Upvotes

I've been programming for so long and I've never been able to share my programs with anyone, now I can post them all here! You will most definitely hear from me in the near future! :) (PS not sure if this simple text submission is against the rules - if it does I apologize)


r/TIBASICPrograms • • Jan 06 '24

Tip I just made a forty-line program obsolete with one line.

7 Upvotes

For context, I've been trying to come up with an elegant way to handle substrings in a program I have to display high scores both in-game and on the home screen, and I finally have.

I'm using a comma-separated string structure, so "val1,val2,...,valn"->Strn

I wrote a subroutine, prgmZZGSNAME, that uses a bunch of If statements to determine the name of the game to pull out for viewing high scores in game and on the desktop, based on calculated indices to navigate around the commas:

If θ=1
sub(Str0,1,16->Str4
If θ=2
sub(str0,18,16->Str4
...
If θ=20
sub(Str0,324,16->Str4

So, like forty lines to accomplish this, and I'd have to hard code the position and length of each index of each line. However, I just noticed a pattern today that helped me decrease the line count by thirty-nine lines AND make it expandable to however long I need each string segment; the sum for each index is the length of the string segment multiplied by the index minus one plus the index. The new program looks like this, with W representing the string segment length:

sub(Str0,(W(θ-1))+θ,W->Str4

That's literally the entire subroutine now. W could literally equal anything, and θ could be 100 or whatever, and you'd pull the exact string segment you need every time, so long as the that string segment is there, and the string segments are separated by commas with no spaces.


r/TIBASICPrograms • • Mar 11 '20

I need help!

7 Upvotes

The code is

:26→K :1.1→B :{4Ans→A :ClrHome :For(A,1,ᴇ2 :randInt(1,16)+.1randInt(1,8→C :Repeat C=Ans(1 :A→dim(ʟA :ʟA(1 :Output(10fPart(Ans),int(Ans),"O :Output(10fPart(B),int(B)," //1 space :Output(10fPart(C),int(C),"* :getKey :If Ans=45 :Goto 0 :If Ans=34 or 2>abs(Ans-25 :Ans→K :ʟA(A→B :ʟA(1)+(K=26)-(K=24)+.1((K=34)-(K=25 :If max(ʟA=Ans :Goto 0 :Ans+16(not(int(Ans))-(17=int(Ans)))+.8(not(fPart(Ans))-(.9=fPart(Ans :augment({Ans},ʟA→A :End :augment(Ans,{Ans(A→A :End :Lbl 0 :ClrHome :A

When inputting this into my calculator, the screen only flashes very quickly, and the game ends saying I had a score of 1.

Do you know how to solve this issue, or do you want me to elaborate? Thanks!


r/TIBASICPrograms • • Jan 31 '20

Help coding a simple solver, unanticipated error that I don’t know how to fix.

7 Upvotes

I've been trying to write a CAS program to solve a variable for me with multiple input variables. Please, if you can tell me where I went wrong

Define LibPub broadcrestqsolv(h,p,c,l,g)=

Func

:Local k

k:=solve(q=(0.5+((q^(2))/((h+p)^(2)*l^(2)*2*g)))^(((3)/(2)))*c*((2)/(3))*√(((2)/(3))*g)*l,q)

Return k

EndFunc

EDIT: the error I get when running it is “Too many arguments” but I’m inputting 5 numbers separated by comas, in their respective slot.

EDIT 2: I’m trying to isolate for q, when I put this equation with numbers into the scratchpad it outputs the expected value, so it isn’t a problem with the variable being on both sides.


r/TIBASICPrograms • • Aug 01 '19

Program RPG(?) thingy I made, it’s called Untitled (I named it that way on purpose :3)

7 Upvotes

So the backstory of the game in a nutshell, is you and former best friend/SO/favorite person are both dead and stuck in an Untitled Afterlife. You’ve lost all your memories and slowly gain them back after defeating Evil Souls. You have to defeat 4 Evil Souls in order to escape and ascend to Heaven, an archetypical afterlife-place with no specific religious ties.

More information, as well as the game itself, is here!

Also..since this is a link to my program and not the program itself in the post I am unsure of what flair to put, so I’ll just put “Program” and change it if need be.

Edit: AAAA!! PLEASE IGNORE MY UGLY GITHUB PFP IF YOU’RE ON MOBILE D:


r/TIBASICPrograms • • Jul 19 '19

Looking for programing challenges

7 Upvotes

Hi guys, im learning ti basic, and im at the point where i need "homework" to get my intuition in it.

Does anyone have a list of chalenges?

Dsoesnt have to be specific for ti-basic, variable difficulty levels.

Thank you!


r/TIBASICPrograms • • Dec 25 '17

Help with sprites

7 Upvotes

I am relatively new to creating programs and am using pure TI-BASIC on a TI-84 Plus CE. I am making hard-coded sprites for a game, however the task is much harder than it was on the 84 Plus with the CE's higher pixel count. Is there any way to zoom in on an area in a way that would make either a point or a pixel larger? In essence I am ok with a smaller range of pixels to use in my sprites, as I designed them with very few pixels in the first place, and would like a way to plot those fewer pixels faster and larger. Thanks!


r/TIBASICPrograms • • Nov 15 '14

Super Smash Bros for TI 83/84

Thumbnail omnimaga.org
7 Upvotes

r/TIBASICPrograms • • Oct 22 '13

Link [TI-89] Program sites!!

7 Upvotes

For the TI-89 and TI-92 programers: I have found two sites that seem worth it.

Check it out: http://www.ticalc.org/pub/89/basic/math/ http://www.turkeyland.net/ti-89.php


r/TIBASICPrograms • • Oct 21 '13

Help me out :)

7 Upvotes

Feel free to tell me what to do to make this better, also subscribed programmers that post good links/programs might be promoted to moderator!!! Thanks for reading!


r/TIBASICPrograms • • Jan 19 '23

Program I updated my old minesweeper I made on my ti84+ to my ce! I also implemented auto-clearing using recursion. Hope you like it.

6 Upvotes

r/TIBASICPrograms • • Sep 01 '20

Program I need help with TI-82

6 Upvotes

Hello! I'm trying to write a program on my TI-82 Stats and I need a command. "LA" but the L is like a smaller caps L, how do I write that?


r/TIBASICPrograms • • Jan 07 '20

How do I create a program which uses parameters and returns a value to the home screen

6 Upvotes

I'm trying to make a program which can be called like "Exec<programname>("xyz")" on the ti-84 plus, but I have found no help on the internet


r/TIBASICPrograms • • Dec 25 '19

TI-89 Questions

6 Upvotes

Which one is better at programming, the TI-84 Plus or the TI-89 (Titanium)? I ordered a TI-89 and I don't know if I made a mistake. I mainly will use it for programming probably.

One reason I'm asking is because I see not a lot of people writing programs for the TI-89. I only see people do cool stuff on the 84.


r/TIBASICPrograms • • Mar 30 '19

TI 84 copy/paste function?

6 Upvotes

I am trying to write an equation in the graphing menu so that it will be stored somewhere, and then for later use I want to be able to copy this equation and paste it into the solver menu. If anybody has any tips how to do this that would be great! (I know you can solve for the zeros graphically but these answers aren't accurate enough.)


r/TIBASICPrograms • • Nov 01 '15

[TI-84+ C SE] The Dragon Curve

6 Upvotes

The Dragon Curve is a fractal that is hidden in plain sight. Fold a strip of paper over itself as many times as possible. The shape that it forms is the Dragon Curve. The actual calculation for it is at the same time very simple but very difficult to explain, so I'll let numberphile do it again. This program generates this curve. Well, half of it, as whenever you stop it, it would actually double on itself, but it's still cool.

:ClrDraw
:1->A:177->B:42->C:1->D
:Repeat getKey=45
:A+1->A:A->E
:Text(1,1,A
:While not(remainder(E,2
:E/2->E:End
:If remainder((E-1)/2,2
:Then:D+1->D
:Else:D+3->D:End
:remainder(D,4->D
:For(E,1,2
:B+(D=0)-(D=2)->B
:C+(D=3)-(D=1)->C
:If C<165 and C>=0 and B>=0
:Pxl-On(C,B,D+21
:End:End

Edit: Fixed some weird formatting


r/TIBASICPrograms • • May 22 '15

Are Texas Instruments' calculators the only ones that offer live programming?

6 Upvotes

I love being able to sit in math class and secretly work on some BASIC project. It's much better than paying attention. Are there calculators other than TI brand ones that allow me to do this? Which calculator would be best for programming?(TI or not)


r/TIBASICPrograms • • Aug 31 '26

Program Polynomial (including degrees higher than 2) Root solver (Ti 84 Plus CE)

5 Upvotes

POLYROOT is free to use, modify, and share. The full TI-BASIC source is included below.

So I made this working program this semester for my System Dynamics class (finding poles), and I wanted to share it with you guys. Raw code for each version (depends on preference) posted at bottom.

Nerd information:

I used a copious amount of AI while developing this program. One of the ideas that came out of that was using the Durand-Kerner method to solve for the roots of a polynomial of essentially any degree the calculator can reasonably handle.

Durand-Kerner is an iterative numerical algorithm that approximates all of the roots of a polynomial simultaneously.

For each estimated root r_i, the program repeatedly applies:

r_i = r_i - P(r_i) / PRODUCT(r_i - r_j), for all j != i

where P(r_i) is the polynomial evaluated at the current estimate r_i.

In simpler terms, every root estimate is repeatedly corrected based on the value of the polynomial at that point and the positions of all the other current root estimates. The process continues until the estimates stop changing significantly.

This also allows the program to find complex roots, which created one of the first major problems I ran into. The TI-84 Plus CE cannot store complex values inside matrices, even while the calculator is in a+bi mode.

I borrowed an idea from a program called SIMULT2, which a previous student in my circuits class made and which our professor provided to us. That program used lists to store complex values while drawing something on-screen that looked like a matrix.

I adapted that idea for POLYROOT. The original coefficient-entry system allowed the user to move left and right through the cells with the arrow keys and correct previous entries. Unfortunately, it was also slow and required an annoying extra Enter press.

I eventually replaced that with a simpler system where one Enter immediately moves to the next coefficient.

I also added an option to use an already-existing coefficient matrix [A], so the program does not have to erase and rebuild the coefficients every time.

Another problem was numerical output. Durand-Kerner might produce something such as 1.999999999 instead of 2, or an extremely tiny real or imaginary component instead of exactly 0. I added several cleanup passes that round values near integers and eliminate components below certain tolerances.

I then added detection for repeated roots and their multiplicities.

That became Version 1.

Version 2 mainly focused on quality-of-life improvements, especially replacing the slower arrow-key/double-Enter coefficient-entry system with the current single-Enter system.

After choosing which version I preferred, I did some additional cleanup, which became the version of POLYROOT I currently use.

That's basically how this monstrosity came to exist.

End of nerd information (well sorta)

--------------------------------------------------------------------------------------------------------------
Code Portion:

Here's what I currently and mainly use, POLYROOT:

ClrHome

ClrList L₁,L₂,L₃,L₄,L₅,L₆

Lbl M

Menu("COEFFICIENT INPUT","ENTER NEW",E,"USE [A]",θ)

Lbl E

Input "DEGREE:",N

If N<1

Then

Disp "BAD DEGREE"

Stop

End

{1,N+1}→dim([A])

Fill(0,[A])

CoordOff

AxesOff

FnOff

PlotsOff

Horiz

0→Xmin

94→Xmax

-20→Ymin

0→Ymax

ClrDraw

For(X,0,N+1)

Line(8X,0,8X,-8)

End

Line(0,0,8(N+1),0)

Line(0,-8,8(N+1),-8)

0→C

While C≤N

Pt-On(8C+4,-4,2)

ClrHome

Disp "COLUMN"

Disp C+1

Input "VALUE:",V

V→[A](1,C+1)

Pt-Off(8C+4,-4,2)

C+1→C

End

Full

ClrDraw

ClrHome

Goto D

Lbl θ

dim([A])→L₁

If L₁(1)≠1

Then

ClrHome

Disp "BAD MATRIX [A]"

Disp "Single row only,"

Disp "Add columns!"

Full

ClrDraw

Stop

End

L₁(2)-1→N

If N<1

Then

ClrHome

Disp "Reformat MATRIX [A]"

Disp [A]

Disp "Add 1 more column"

Full

ClrDraw

Stop

End

If [A](1,1)=0

Then

ClrHome

Disp "BAD MATRIX [A]"

Disp "LEADING COEFF"

Disp "CANNOT BE ZERO"

Full

ClrDraw

Stop

End

Lbl D

ClrHome

Disp "COEFFICIENTS:"

Disp [A]

Pause "Press Enter"

a+bi

N→O

0→T

While N>0 and [A](1,N+1)=0

T+1→T

N-1→N

End

If N=0

Then

O→dim(L₃)

For(K,1,O)

0→L₃(K)

End

0→M

0→E

Else

ClrList L₁

N→dim(L₁)

N→dim(L₂)

0→R

For(J,2,N+1)

If abs([A](1,J)/[A](1,1))>R

abs([A](1,J)/[A](1,1))→R

End

1+R→R

R→L₁(1)

For(K,2,N)

R*(.4+.9i)^(K-1)→L₁(K)

End

ClrHome

Disp "SOLVING..."

0→M

1→E

While E>1E-7 and M<100

L₁→L₂

0→E

For(K,1,N)

L₂(K)→Z

[A](1,1)→P

For(J,2,N+1)

P*Z+[A](1,J)→P

End

1→D

For(J,1,N)

If J≠K

Then

D*(Z-L₂(J))→D

End

End

Z-P/([A](1,1)*D)→Q

Q→L₁(K)

If abs(Q-Z)>E

abs(Q-Z)→E

End

M+1→M

End

O→dim(L₃)

For(K,1,N)

L₁(K)→Z

If abs(real(Z))<1E-7

i*imag(Z)→Z

If abs(imag(Z))<1E-7

real(Z)→Z

Z→L₃(K)

End

For(K,1,T)

0→L₃(N+K)

End

End

O→dim(L₄)

For(K,1,O)

L₃(K)→L₄(K)

End

N→dim(L₅)

For(K,1,N)

L₃(K)→Z

N*[A](1,1)→D

For(J,2,N)

D*Z+(N-J+1)*[A](1,J)→D

End

abs(D/[A](1,1))→L₅(K)

End

For(K,1,N)

If L₅(K)<1E-4

Then

0→S

0→C

For(J,1,N)

If L₅(J)<1E-4 and abs(L₃(J)-L₃(K))<.01

Then

S+L₃(J)→S

C+1→C

End

End

If C>1

Then

S/C→Z

round(real(Z),6)+i*round(imag(Z),6)→Z

If abs(real(Z))<1E-7

i*imag(Z)→Z

If abs(imag(Z))<1E-7

real(Z)→Z

For(J,1,N)

If L₅(J)<1E-4 and abs(L₃(J)-L₃(K))<.01

Z→L₄(J)

End

End

End

End

For(K,1,O)

L₄(K)→Z

If abs(real(Z))<1E-6

i*imag(Z)→Z

If abs(imag(Z))<1E-5

real(Z)→Z

round(real(Z),6)+i*round(imag(Z),6)→Z

If abs(real(Z)-round(real(Z),0))<1E-5

round(real(Z),0)+i*imag(Z)→Z

If abs(imag(Z)-round(imag(Z),0))<1E-5

real(Z)+i*round(imag(Z),0)→Z

If abs(real(Z))<1E-6

i*imag(Z)→Z

If abs(imag(Z))<1E-6

real(Z)→Z

Z→L₄(K)

End

0→dim(L₆)

{1,O}→dim([B])

Fill(0,[B])

For(K,1,O)

0→F

If dim(L₆)>0

Then

For(H,1,dim(L₆))

If abs(L₆(H)-L₄(K))<1E-6

1→F

End

End

If F=0

Then

0→C

For(J,1,O)

If abs(L₄(J)-L₄(K))<1E-6

C+1→C

End

If C>1

Then

dim(L₆)+1→H

H→dim(L₆)

L₄(K)→L₆(H)

C→[B](1,H)

End

End

End

ClrHome

Disp "ROOTS:"

For(K,1,O)

Disp L₃(K)

End

Pause "Press Enter"

Disp "Cleaned ROOTS:"

Disp L₄

Pause "Press Enter"

ClrHome

If dim(L₆)=0

Then

Disp "NO REPEATED ROOTS"

Else

dim(L₆)→dim(L₅)

For(K,1,dim(L₆))

[B](1,K)→L₅(K)

End

Disp "REPEATED ROOTS:"

Disp "ROOT:"

Disp L₆

Disp "MULTIPLICITY (relative):"

Disp L₅

Disp "Repeated Roots: [L₆]"

Disp "Relative Mode: [L₅]"

End

Pause "Press Enter"

Disp "ITERATIONS:"

Disp M

Disp "ERROR:"

Disp E

Disp "ROOTS STORED IN [L₃]"

Disp "Cleaned ROOTS??: [L₄]"

Disp "See [A], L₃,L₄,L₅ & L₆"

If M=100

Disp "CHECK CONVERGENCE"

Pause "Press Enter"

---------------------------------------------------------------------

Here's streamlined version of POLYROOT:

ClrHome

ClrList L₁,L₂,L₃,L₄,L₅,L₆

Lbl M

Menu("COEFFICIENT INPUT","ENTER NEW",E,"USE [A]",θ)

Lbl E

Input "DEGREE:",N

If N<1

Then

Disp "BAD DEGREE"

Stop

End

{1,N+1}→dim([A])

Fill(0,[A])

CoordOff

AxesOff

FnOff

PlotsOff

Horiz

0→Xmin

94→Xmax

-20→Ymin

0→Ymax

ClrDraw

For(X,0,N+1)

Line(8X,0,8X,-8)

End

Line(0,0,8(N+1),0)

Line(0,-8,8(N+1),-8)

0→C

While C≤N

Pt-On(8C+4,-4,2)

ClrHome

Disp "COLUMN"

Disp C+1

Input "VALUE:",V

V→[A](1,C+1)

Pt-Off(8C+4,-4,2)

C+1→C

End

Full

ClrDraw

ClrHome

Goto D

Lbl θ

dim([A])→L₁

If L₁(1)≠1

Then

ClrHome

Disp "BAD MATRIX [A]"

Disp "Single row only,"

Disp "Add columns!"

Stop

End

L₁(2)-1→N

If N<1

Then

ClrHome

Disp "Reformat MATRIX [A]"

Disp [A]

Disp "Add 1 more column"

Stop

End

If [A](1,1)=0

Then

ClrHome

Disp "BAD MATRIX [A]"

Disp "LEADING COEFF"

Disp "CANNOT BE ZERO"

Stop

End

Lbl D

ClrHome

Disp "COEFFICIENTS:"

Disp [A]

Pause "Press Enter"

a+bi

N→O

0→T

While N>0 and [A](1,N+1)=0

T+1→T

N-1→N

End

If N=0

Then

O→dim(L₃)

For(K,1,O)

0→L₃(K)

End

0→M

0→E

Else

ClrList L₁

N→dim(L₁)

N→dim(L₂)

0→R

For(J,2,N+1)

If abs([A](1,J)/[A](1,1))>R

abs([A](1,J)/[A](1,1))→R

End

1+R→R

R→L₁(1)

For(K,2,N)

R*(.4+.9i)^(K-1)→L₁(K)

End

ClrHome

Disp "SOLVING..."

0→M

1→E

While E>1E-7 and M<100

L₁→L₂

0→E

For(K,1,N)

L₂(K)→Z

[A](1,1)→P

For(J,2,N+1)

P*Z+[A](1,J)→P

End

1→D

For(J,1,N)

If J≠K

Then

D*(Z-L₂(J))→D

End

End

Z-P/([A](1,1)*D)→Q

Q→L₁(K)

If abs(Q-Z)>E

abs(Q-Z)→E

End

M+1→M

End

O→dim(L₃)

For(K,1,N)

L₁(K)→Z

If abs(real(Z))<1E-7

i*imag(Z)→Z

If abs(imag(Z))<1E-7

real(Z)→Z

Z→L₃(K)

End

For(K,1,T)

0→L₃(N+K)

End

End

O→dim(L₄)

For(K,1,O)

L₃(K)→L₄(K)

End

N→dim(L₅)

For(K,1,N)

L₃(K)→Z

N*[A](1,1)→D

For(J,2,N)

D*Z+(N-J+1)*[A](1,J)→D

End

abs(D/[A](1,1))→L₅(K)

End

For(K,1,N)

If L₅(K)<1E-4

Then

0→S

0→C

For(J,1,N)

If L₅(J)<1E-4 and abs(L₃(J)-L₃(K))<.01

Then

S+L₃(J)→S

C+1→C

End

End

If C>1

Then

S/C→Z

round(real(Z),6)+i*round(imag(Z),6)→Z

If abs(real(Z))<1E-7

i*imag(Z)→Z

If abs(imag(Z))<1E-7

real(Z)→Z

For(J,1,N)

If L₅(J)<1E-4 and abs(L₃(J)-L₃(K))<.01

Z→L₄(J)

End

End

End

End

For(K,1,O)

L₄(K)→Z

If abs(real(Z))<1E-6

i*imag(Z)→Z

If abs(imag(Z))<1E-5

real(Z)→Z

round(real(Z),6)+i*round(imag(Z),6)→Z

If abs(real(Z)-round(real(Z),0))<1E-5

round(real(Z),0)+i*imag(Z)→Z

If abs(imag(Z)-round(imag(Z),0))<1E-5

real(Z)+i*round(imag(Z),0)→Z

If abs(real(Z))<1E-6

i*imag(Z)→Z

If abs(imag(Z))<1E-6

real(Z)→Z

Z→L₄(K)

End

0→dim(L₆)

{1,O}→dim([B])

Fill(0,[B])

For(K,1,O)

0→F

If dim(L₆)>0

Then

For(H,1,dim(L₆))

If abs(L₆(H)-L₄(K))<1E-6

1→F

End

End

If F=0

Then

0→C

For(J,1,O)

If abs(L₄(J)-L₄(K))<1E-6

C+1→C

End

If C>1

Then

dim(L₆)+1→H

H→dim(L₆)

L₄(K)→L₆(H)

C→[B](1,H)

End

End

End

ClrHome

Disp "ROOTS:"

For(K,1,O)

Disp L₃(K)

End

Pause "Press Enter"

ClrHome

If dim(L₆)=0

Then

Disp "NO REPEATED ROOTS"

Else

dim(L₆)→dim(L₅)

For(K,1,dim(L₆))

[B](1,K)→L₅(K)

End

Disp "REPEATED ROOTS:"

Disp "ROOT:"

Disp L₆

Disp "MULTIPLICITY (relative):"

Disp L₅

Disp "Repeated Roots: [L₆]"

Disp "Relative Mode: [L₅]"

End

Pause "Press Enter"

Disp "ITERATIONS:"

Disp M

Disp "ERROR:"

Disp E

Disp "ROOTS STORED IN [L₃]"

Disp "Cleaned ROOTS??: [L₄]"

Disp "See [A], L₃,L₄,L₅ & L₆"

If M=100

Disp "CHECK CONVERGENCE"

---------------------------------------------------------------------

Here's a version of the code which allows scrolling side to side when entering values into the cells, and has the annoying double enter:

ClrHome

ClrList L₁,L₂,L₃,L₄,L₅,L₆

Lbl M

Menu("COEFFICIENT INPUT","ENTER NEW",E,"USE [A]",θ)

Lbl E

Input "DEGREE:",N

If N<1

Then

Disp "BAD DEGREE"

Stop

End

{1,N+1}→dim([A])

Fill(0,[A])

CoordOff

AxesOff

FnOff

PlotsOff

Horiz

0→Xmin

94→Xmax

-20→Ymin

0→Ymax

ClrDraw

For(X,0,N+1)

Line(8X,0,8X,-8)

End

Line(0,0,8(N+1),0)

Line(0,-8,8(N+1),-8)

0→C

2→K

While K≠15

Pt-On(8C+4,-4,2)

ClrHome

Disp "COLUMN"

Disp C+1

Disp "VALUE"

Disp [A](1,C+1)

0→K

While K=0

getKey→K

End

Pt-Off(8C+4,-4,2)

If K=24

Then

C-1→C

If C<0

N→C

End

If K=26

Then

C+1→C

If C>N

0→C

End

If K=105

Then

ClrHome

Input "VALUE:",V

V→[A](1,C+1)

If C=N

Then

15→K

Else

C+1→C

End

End

End

Full

ClrDraw

ClrHome

Goto D

Lbl θ

dim([A])→L₁

If L₁(1)≠1

Then

ClrHome

Disp "BAD MATRIX [A]"

Disp "Single row only,"

Disp "Add columns!"

Stop

End

L₁(2)-1→N

If N<1

Then

ClrHome

Disp "Reformat MATRIX [A]"

Disp [A]

Disp "Add 1 more column"

Stop

End

If [A](1,1)=0

Then

ClrHome

Disp "BAD MATRIX [A]"

Disp "LEADING COEFF"

Disp "CANNOT BE ZERO"

Stop

End

Lbl D

ClrHome

Disp "COEFFICIENTS:"

Disp [A]

Pause "Press Enter"

a+bi

N→O

0→T

While N>0 and [A](1,N+1)=0

T+1→T

N-1→N

End

If N=0

Then

O→dim(L₃)

For(K,1,O)

0→L₃(K)

End

0→M

0→E

Else

ClrList L₁

N→dim(L₁)

N→dim(L₂)

0→R

For(J,2,N+1)

If abs([A](1,J)/[A](1,1))>R

abs([A](1,J)/[A](1,1))→R

End

1+R→R

R→L₁(1)

For(K,2,N)

R*(.4+.9i)^(K-1)→L₁(K)

End

ClrHome

Disp "SOLVING..."

0→M

1→E

While E>1E-7 and M<100

L₁→L₂

0→E

For(K,1,N)

L₂(K)→Z

[A](1,1)→P

For(J,2,N+1)

P*Z+[A](1,J)→P

End

1→D

For(J,1,N)

If J≠K

Then

D*(Z-L₂(J))→D

End

End

Z-P/([A](1,1)*D)→Q

Q→L₁(K)

If abs(Q-Z)>E

abs(Q-Z)→E

End

M+1→M

End

O→dim(L₃)

For(K,1,N)

L₁(K)→Z

If abs(real(Z))<1E-7

i*imag(Z)→Z

If abs(imag(Z))<1E-7

real(Z)→Z

Z→L₃(K)

End

For(K,1,T)

0→L₃(N+K)

End

End

O→dim(L₄)

For(K,1,O)

L₃(K)→L₄(K)

End

N→dim(L₅)

For(K,1,N)

L₃(K)→Z

N*[A](1,1)→D

For(J,2,N)

D*Z+(N-J+1)*[A](1,J)→D

End

abs(D/[A](1,1))→L₅(K)

End

For(K,1,N)

If L₅(K)<1E-4

Then

0→S

0→C

For(J,1,N)

If L₅(J)<1E-4 and abs(L₃(J)-L₃(K))<.01

Then

S+L₃(J)→S

C+1→C

End

End

If C>1

Then

S/C→Z

round(real(Z),6)+i*round(imag(Z),6)→Z

If abs(real(Z))<1E-7

i*imag(Z)→Z

If abs(imag(Z))<1E-7

real(Z)→Z

For(J,1,N)

If L₅(J)<1E-4 and abs(L₃(J)-L₃(K))<.01

Z→L₄(J)

End

End

End

End

For(K,1,O)

L₄(K)→Z

If abs(real(Z))<1E-6

i*imag(Z)→Z

If abs(imag(Z))<1E-5

real(Z)→Z

round(real(Z),6)+i*round(imag(Z),6)→Z

If abs(real(Z)-round(real(Z),0))<1E-5

round(real(Z),0)+i*imag(Z)→Z

If abs(imag(Z)-round(imag(Z),0))<1E-5

real(Z)+i*round(imag(Z),0)→Z

If abs(real(Z))<1E-6

i*imag(Z)→Z

If abs(imag(Z))<1E-6

real(Z)→Z

Z→L₄(K)

End

0→dim(L₆)

{1,O}→dim([B])

Fill(0,[B])

For(K,1,O)

0→F

If dim(L₆)>0

Then

For(H,1,dim(L₆))

If abs(L₆(H)-L₄(K))<1E-6

1→F

End

End

If F=0

Then

0→C

For(J,1,O)

If abs(L₄(J)-L₄(K))<1E-6

C+1→C

End

If C>1

Then

dim(L₆)+1→H

H→dim(L₆)

L₄(K)→L₆(H)

C→[B](1,H)

End

End

End

ClrHome

Disp "ROOTS:"

For(K,1,O)

Disp L₃(K)

End

Pause "Press Enter"

ClrHome

If dim(L₆)=0

Then

Disp "NO REPEATED ROOTS"

Else

dim(L₆)→dim(L₅)

For(K,1,dim(L₆))

[B](1,K)→L₅(K)

End

Disp "REPEATED ROOTS:"

Disp "ROOT:"

Disp L₆

Disp "MULTIPLICITY (relative):"

Disp L₅

Disp "Repeated Roots: [L₆]"

Disp "Relative Mode: [L₅]"

End

Pause "Press Enter"

Disp "ITERATIONS:"

Disp M

Disp "ERROR:"

Disp E

Disp "ROOTS STORED IN [L₃]"

Disp "Cleaned ROOTS??: [L₄]"

Disp "See [A], L₃,L₄,L₅ & L₆"

If M=100

Disp "CHECK CONVERGENCE"


r/TIBASICPrograms • • Jun 15 '25

Made a free website with TI-84 programs - would love your feedback

5 Upvotes

Hey everyone! 👋

I've been working on a project to make useful math programs more accessible for TI-84 users, and I finally got my website up and running. It's completely free and focuses on simple, easy-to-use programs that can actually help with coursework.

What's included:

  • Geometry programs

  • Algebra programs

  • Installation instructions

  • More categories coming soon!

The site is at: tiprograms.github.io

I know there are tons of program repositories out there, but I wanted to create something clean and beginner-friendly. No ads, no paywall, just helpful programs for students and anyone else using TI-84 calculators.

Would love to get some feedback from this community - what programs do you find most useful? What am I missing that would be helpful to include?

Thanks for checking it out!


r/TIBASICPrograms • • Apr 30 '23

Write functions TI-84 Plus CE?

5 Upvotes

I'm working on a program on my TI-84 Plus CE, and am attempting to write a function that I can call multiple times in my code. However, I can't seem to find any way to do that, as the documentation for defining and calling functions in TI-Basic that I can find seem to not apply to this version. (i.e., there is no "Define" command on it). Does anyone know how to do this?


r/TIBASICPrograms • • Nov 29 '22

I'm making a text adventure game in ti basic on a ti 83 plus calculator and want to make it so that when someone chooses an option from the menu and it's bad it goes back to the menu how would I do that?

Thumbnail
gallery
5 Upvotes

r/TIBASICPrograms • • Mar 10 '22

Meta Storing data in the graph screen?

5 Upvotes

So I had a thought, I was thinking about storage space in a tibasic program and I was wondering if there would be any use for a system using the graph screen as a storage space for binary data? Like you could interact with the data using pxl-on/pxl-off or more likely pxl-change and access it with pxl-test?

That's the whole idea but idk if there would be any practical use besides space over lists and matrices, I just don't know too much about this type of thing.

I calculate on a ti84+ce there's 265x165 or 43825 bits available on the graph screen.

Thoughts?