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

(TI_84 Plus) Comparing a variable to a list of numbers for a 'if' statement

Iam trying to compare a variable to a list of numbers and return true if thoses number match the value of the variable. :1-> X :If L1=X :Then :Disp TRUE :End But it doesn't work, and I have three numbers in the list which are one, two, and…
0
votes
1 answer

TI-82 String variable?

Can TI-82 store a string into a variable? I tried using "VARS" and I don't see "String" as an option. The Input command also does not take string (with double quote) as input.
some user
  • 876
  • 1
  • 12
  • 26
0
votes
1 answer

TI-BASIC: Why am I getting an undefined error when all of my variables are defined?

Disp "SURFACE AREA:","4πR^2" Input "RADIUS:",R 4πR^2->A Disp "SURFACE AREA:",A,"UNITS SQUARED" Pause I'm trying to use this TI-BASIC code on my ti-84 plus, but everytime I use this string of code, it gives me an undefined error, even though it seem…
0
votes
1 answer

quadratic formula program trouble

So I made this program to solve the quadratic formula. This program also displays the discriminant of the quadratic formula. the formula is this (-B ± √(B^2 -4AC))/2A and the discriminant is B^2 -4AC. For some reason, the program only will spit out…
Cpu_55
  • 3
  • 2
0
votes
1 answer

C: Making a polynomial function via command line arguments

For my Calculus class it has been asked frequently to find the average speed between two points to find the instantaneous speed, requiring me to do f(b) - f(a) / b - a. I want to do pass parameters to program (eventually loaded onto my Ti-84) to…
Theroumag
  • 1
  • 1
0
votes
1 answer

TI Inspire CX variable not defined in an if statement

I am attempting to write a modular inverse function based on this c++ version in my TI-Nspire CX. So far I have the following code: Define LibPub modinv(a,b)= Func Local b0,t,q,x0,x1 0→x0 1→x1 If b=1 Then Return 1 EndIf While a>1 …
RandomNumberFun
  • 638
  • 2
  • 8
  • 25
0
votes
1 answer

Ti - basic homography bilinear interpolation problem

I'm trying to make a program that can calculate bilinear interpolation with homography; which means I have four points (xn,yn) n = 1, 2, 3, 4, and corresponding f(xn, yn) and interpolate f(x,y) from the given four sets. The basic concept is to get a…
Chanwoo Ahn
  • 334
  • 2
  • 13
0
votes
1 answer

Is it possible to set f(x) to user input in TI-Basic?

I need to be able to set f(x) to user input in my program. For example the user inputs x^3-3. Then later in the program, a transformation can be applied to the function by using something like f(2x). The output of f(2x) would be 8*x^3-3. I am having…
SpencerLS
  • 361
  • 5
  • 16
0
votes
1 answer

Is there a way to graph 2 different things in splitscreen mode in TI-Basic?

I am trying to make a program for my calculator (TI-89 Titanium if that helps) that takes a function from user input and graphs it on the left side of the screen. Then it will apply a transformation to the function and graph it on the right side of…
SpencerLS
  • 361
  • 5
  • 16
0
votes
1 answer

how do I create a program using parameters using ti-basic 83

I am trying to create a simple program on my ti-84 plus that uses parameters when being called, like a function, but I have had no luck at finding documentation on the internet. I am wanting to call the program like: Simpleprogram(xyz,X), or…
Mason Kerr
  • 391
  • 3
  • 7
0
votes
1 answer

Trying to display what position the matrix editor is at

I have a TI-84 Plus CE (although I kind of want it to be backwards compatible, and compatible with the nSPIRE and TI-84 Plus) I am trying to output onto the screen what position the matrix editor is at, and I am getting an ERROR:syntax, although (to…
0
votes
1 answer

Multiplication Using Matrix Based Arbitrary Number Library (HP Prime)

(Shared with the TI-BASIC community because the HP Prime community is near non-existent on Stack Exchange, and because porting programs both ways hasn't been too hard, at least in my experience.) I am trying to boost my calculators capability by…
0
votes
1 answer

Why is it saying that there is a syntax error for the if/else statement I wrote?

I'm trying to write a program that calculates the sum of a geometric series on a TI-84. Prompt A Prompt R Prompt N If N=100 and abs(R)<1 Disp (A/1-R) Else Disp (A(1-R^N))/(1-r) It says that there is a syntax error at the Else line.
0
votes
3 answers

TI-84: Same formula, same inputs, different answers when using program v.s. home screen

I wanted to write a simple formula in TI-Basic to calculate compound interest for my TI-84 calculator. The formula for compound interest is A = P(1+(r/n))^(n)(t) where p is the principal amount, r is the interest rate (expressed as a decimal), n is…
ab217
  • 16,900
  • 25
  • 74
  • 92
0
votes
1 answer

TI-84 Plus doesn't recognize Local keyword

I am learning how to code in TI-BASIC for my TI-84 Plus CE, so I wrote a Quadratic Formula program: :Local A :Local B :Local C :Local P :Local Q :Prompt A,B,C :-­­­­­­­­B+√(B²-4AC)√(2A)→P :-­B-√(B²-4AC)√(2A)→Q :"The actual program uses a negative…
AAM111
  • 1,178
  • 3
  • 19
  • 39