Skip to content

About

Small BASIC programs for the TI84 Plus

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TI84 Plus Basic programs

TODO: any info on building + running?

TIBasic is used for building to a format the calculator understands. After building, the .8xp files can be transferred to the calculator directly. I just use the file names (without the extension) as the program names.

Program info

Here I try to mention any relevant information on the programs.

x2solve

Quadratic equation solver. AX^2 + BX + C = 0 Handles linear equations as well with A=0.

dot

Warning: Uses A and B matrix slots, and therefore overrides them even if they are currently in use.

reflect

Reflect a vector d on a surface with a vector n. Uses matrix I and J for working storage. Stores result in Ans.

getcol

Get a column C from a matrix. Fill in expected column in Ans, and matrix in matrix slot A. Uses matrix slot I for storage.

Result is found in Ans.

QRDecomp

QR factorization/decomposition using Gram Schmidt process. Uses way too many matrix slots as working variables while calculating the Gram Schmidt process. Can probably be optimized. TI Basic gets hard to read once programs get big… Calculates result in matrix slot B and C.

QR iterations (finding eigenvalues)

NOTE: Does seem to converge to something for the matrices I’ve tried, but I still need to debug and see if there are any issues. Some numerical inaccuracies happen, probably because of QR decomposition using Gram-Schmidt instead of Householder transforms or Givens rotations.

Uses the above QR factorization/decomposition to find eigenvalues. Due to the above algorithm using too many matrix slots, the resulting matrix is saved in matrix slot I. If it converged after the set number of iterations, the diagonal should contain the eigenvalues. The matrix should in theory have converged to a triangular matrix with zeros (or close) below the diagonal. Only symmetric matrices are guaranteed convergence. I need to look more into the theory later, but wanted a quick tool to verify eigenvalue calculations :)

About

Small BASIC programs for the TI84 Plus

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages