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
1
vote
2 answers

TI-Basic Storing Formula In a List

I recently became aware of an odd behavior of TI-Basic that allows the programmer to store a formula into a list variable. I've become quite familiar with TI-Basic over the years and have examined samples of code from sources such as TI-Basic…
ankh-morpork
  • 1,732
  • 1
  • 19
  • 28
1
vote
2 answers

TI-BASIC (TI-84) Solving for the Sides of a Triangle

Could someone tell me if I've coded this correctly? This is my code for solving for the sides of a triangle given its perimeter, altitude, and angle (for the algebra see…
Gabriel
  • 129
  • 1
1
vote
2 answers

TI-84 Set Variable Based on Boolean Expression

For a ti-84 program I used the quadratic equation and stored the root with the plus sign as N and the root with the negative sign as R. I then want to only use the positive root as the value for the rest of the program (if both are positive it…
Gabriel
  • 129
  • 1
1
vote
3 answers

How to 'array push' a string into a list in TI-Nspire?

As homework, I must swap letters in a given string. I already figured out how to do this, but not how to display them at once. it involves a for loop. so if I include disp x in the for loop, it displays them between parentheses and a space, but I…
steedsnisps
  • 125
  • 1
  • 4
1
vote
6 answers

TI Basic Syntax Error in If Statements

I just started trying to have a gas law code for chemistry today. I don't really understand the syntax of TI basic. It will run after the first If statement. Even if the numbers entered only pertains to the first if statement, it will still have a…
Max Yuan
  • 121
  • 1
  • 1
  • 6
1
vote
4 answers

Is there a way to remove "getKey"'s input lag?

I've recently decided to try ti-basic programming, and while I was playing with getKey; I noticed that it had a 1s~ input lag after the first input. Is this built into the calculator, or can this be changed?
1
vote
1 answer

How to use the LinReg command on the TI-89?

When I try to use the LinReg command, it works, but just says Done LinReg c1,c2 Done I know how to do it with the CALC button in the Data/Matrix editor, but don't understand how it works as a command.
Reed Oei
  • 1,427
  • 2
  • 13
  • 19
1
vote
1 answer

Ti-84 syntax error relating to a single list conversion to a matrix

:N-remainder(dim(L1),N→ dim(L2) :Fill(23,L2 :augment(L1, L2->L1 :{1,1→dim([A] :For(x,1,dim(L1)/N :augment([A],List▶matr(seq(L1(I),I,Nx-N+1,Nx),[B] :End I get a syntax error when running this Ti-basic code and I cannot figure out why (happens…
Adam Staples
  • 396
  • 2
  • 7
  • 19
1
vote
1 answer

Inverse of augment method in Ti-84 Ti-basic for lists (partitioning a single list)

Can read about augment( here: http://tibasicdev.wikidot.com/augment I'd like a program that is sort of the inverse of augment. What I want to do is take a list, say L1, then partition it into equal length sublists and stores them into L1, ..., Lk…
Adam Staples
  • 396
  • 2
  • 7
  • 19
1
vote
3 answers

Parameters in TI-BASIC

I have written a program that simplifies a radical, but it's kind of ugly and I am interested in "prettying" up the interface: prgmSIMPRAD IN? R=?48 OUT: 4 IN: 3 DONE Ideally I'd…
Tako M.
  • 295
  • 1
  • 3
  • 13
1
vote
2 answers

Factoring program (TI-84 plus)

My Program, just learning how to code calculators today, is not giving me any response but "DONE" PROGRAM:FACTORS :ClrHome :Input "A=", A :Input "B=", B :Input "C=", C :For(D,1,100,1) :For(E,1,100,1) :If (D*E)=C and…
vass123
  • 11
  • 1
  • 2
1
vote
1 answer

How to change graph formatting options with TI-Basic on TI-84?

I'm trying to make a simple program on my TI-84 Plus. It graphs cool lines one at a time. But some of the lines would look much better if I could change window values and remove the axes (2nd > Format > AxesOff), but I don't know how to do…
Jonathan Lam
  • 16,831
  • 17
  • 68
  • 94
1
vote
1 answer

TI-Basic Parenthesis Syntax

I found a program I made on my calculator many years ago, and I am having trouble understanding what the line Z-1(Z=0 → Z does in it. I tried just changing it to Z-1 → Z but that ended up breaking it. Here is an excerpt, any information would be…
user2059300
  • 361
  • 1
  • 5
  • 17
1
vote
2 answers

Will this algorithm always work?

So I'm writing a TI-BASIC algorithm for my calculator that does ratios. Here is the code: Disp "GIVE ONE NUMBER" Prompt A Disp "GIVE A SECOND NUMBER" Prompt B While fPart(A)≠0 or fPart(B)≠0 A*10->A B*10->B End gcd(A,B)->C Disp A/C Disp B/C It…
Someone
  • 428
  • 5
  • 17
1
vote
1 answer

How do you "fix" decimal points when converting to DMS?

In TI-Basic, there's a Fix function to limit the number of displayed decimal places. For example, Fix 2 would display only 2 decimal digits. However, when I try to convert a number to Degree-Minute-Second notation, I sometimes get more than the…
éclairevoyant
  • 392
  • 2
  • 15