Questions tagged [ti-basic]

TI-BASIC is the official name of a BASIC-like language built into Texas Instruments (TI)'s graphing calculators, including the TI-83 series, TI-84 Plus series, TI-89 series, TI-92 series, TI-73, and TI-Nspire. The capability to write programs in TI-BASIC is automatically built-in to Texas Instruments calculators.

Forms of TI-Basic

TI-Basic comes in three distinct forms, TI-83, 68K, and TI-NSpire. While these forms have much in common, they also have noticeable differences that make code written for one from almost completely incompatible with the others. For this reason it is important to explicitly state the form of TI-Basic you are using in any questions.

  • TI-83 Basic
    This is the most common form of TI-Basic. It refers the form of TI-Basic found on both TI-83 and TI-84 series of calculators. Even within this form of TI-Basic, there are variations in the availability of functions between calculators.
  • 68K
    This form of TI-Basic is far less common than TI-83 Basic. 68K TI-Basic is found on the TI-89, TI-92 and Voyage 200 calculators.
  • TI-Nspire
    Generally the least common form, this is only found on TI-Nspire series calculators. Due to the far superior processing power TI-Nspire calculators have, this form could have more potential than the others, but limitation in regards to input and output renders this form largely unused.

Resources

231 questions
0
votes
1 answer

Quadratic equation solver in TI-BASIC returns incorrect roots

When I was in high school, I figured out how to program my TI-84 Plus calculator to do quadratic equations for me. Like the goody-two-shoes I was, I deleted the program before the final exam. I am trying to recreate the program now, but it's not…
Shokhet
  • 111
  • 5
0
votes
1 answer

How was someone able to implement a game-boy emulator on a ti-calculator?

This question might not be answerable by anyone but the creator, but I found a Gameboy emulator here:https://www.omnimaga.org/ti-boy-se-game-boy...ti.../official-ti-boy-cse-alpha-thread/ for ti-83/84 calculators and was wondering how it worked. It…
Meepo
  • 368
  • 4
  • 19
0
votes
1 answer

How to implement a low-momory stack in ti-basic

So I am creating a maze generating algorithm using recursive backtracking. I keep track of the points that I visit in a stack using a matrix. This matrix has two columns, one for the x-coordinate, and one for the y-coordinate. The problem is, my…
Meepo
  • 368
  • 4
  • 19
0
votes
1 answer

Are if-then-else statements slower in TI-Basic?

When coding on a very slow machine, such as a TI-89, every statement counts. I am often indecisive between two ways of writing if statements: If bool Then int = 0 Else int = 1 End or int = 1 If bool Then int = 0 End (Yes, I know with…
0
votes
3 answers

TI-84 Plus CE even/odd function?

So I want to make a program that will use the Collatz Conjecture on numbers I put in, but I can't figure out a way to make the program be able to tell between even and odd numbers. I know it's x%2==0 for odd in Python, but I can't seem to find a…
Van Nuysmacht
  • 19
  • 1
  • 1
0
votes
1 answer

Corrupt .8xp file for TI 84+

I am trying to write a few programs for my TI 84+ calculator. I am writing in a basic text editor on my desktop and then compiling into .8xp files, because it is much easier than typing on the actual device. I would then like to pass the .8xp file…
wcarhart
  • 2,685
  • 1
  • 23
  • 44
0
votes
2 answers

Set value for multiple variables at once?

While programming a sample program in my TI-84 calculator, I was wondering if there were a way to initialize multiple variables to a single value in one line? I tried doing 0 -> A,B,C,D However this did not work for the calculator. I know you can…
0
votes
1 answer

While True loop stops unexpectedly

In this simple program a point traverses an array diagonally and bounces off the walls. Every pixel it touches changes color. On my TI 84+ CE, the infinite while loop stops prematurely at the same spot every time.…
0
votes
2 answers

How do you append values to list then iterate through lists?

I am trying to write a basic program for my TI-84 that finds the area of polygons on a 2d plane. For reference, I have written this in python many times, here is what it does: x_list,y_list,verts,tot_1,tot_2=[],[],int(input("How many vertices are on…
toads_tf
  • 128
  • 9
0
votes
1 answer

Ti Nspire: Convert solve(...) output to a callable Function

in order to calculate the inverse function of f(x) I defined following function: inv(fx):=exp▶list(solve(fx=y,x),x) which output is: inv(x^(2)) {piecewise(−√(y),y≥0),piecewise(√(y),y≥0)} So that part works already, but how can I use…
Bruno Zell
  • 7,761
  • 5
  • 38
  • 46
0
votes
1 answer

How to display a string and a number on the same line and use if statements in TI-Basic

EDIT: I found the answer! I commented it below I have a TI-84 Plus C Silver Edition So this is my code: Prompt A,B,C ((-B+√(B²-4AC))/(2A))->X ((-B-√(B²-4AC))/(2A))->Y Disp X,Y So that works completely fine, but I want to add code at the end that…
KMehta
  • 121
  • 1
  • 8
0
votes
1 answer

Plot discrete points on a graph TI-BASIC

I've been delving into the TI-BASIC programming language on my Ti-89 Titanium but it appears the online documentation is very scarce, so I'm kind of stumbling around in the dark while trying to learn the syntax. I've already worked through the basic…
bjd2385
  • 2,013
  • 4
  • 26
  • 47
0
votes
0 answers

Triple integral converges to wrong number (TI-84)

I made a program for finding a triple integral of an f(x,y,z) function over a general region, but it's not working for some reason. Here's an excerpt of the program, for when the order of integration is dz dy…
user3932000
  • 671
  • 8
  • 24
0
votes
1 answer

List consistently deleted when program is run on Ti-89

Whenever I attempt to run a program on my Ti-89 that stores a number or a sequence into a list, the list is always deleted after the program is run. I have tried this sort of thing on a Ti-84, and the number is successfully stored. I was perhaps…
Diafotismos
  • 109
  • 1
  • 10
0
votes
1 answer

ti 89 copy on custom menu

I have a TI-89 program that creates a custom menu. I want my custom menu to include Copy, Cut, Paste, and Clear Home options, just like you can use in the Home menu under the F1 tools tab. How can these functions be…