TI-83/TI-84 BASIC Tutorial #2
Variables
Now you should be past the basic commands of displaying text. Now you need ot learn about variables. To use most of them, you need to use the STO arrow which looks like so: There are 13 (plus three more for the TI-83+ which have a light green background) types of variables. I copied the following chart directly from the TI-83+ book.
Variable Type | Names |
---|---|
Real numbers | A, B,..., Z |
Complex numbers | A, B,..., Z |
Matrices | [A], [B], [C],..., [J] |
Lists | L1, L2, L3, L4, L5, L6, and user-defined names |
Functions | Y1, Y2,... Y9, Y0 |
Parametric equations | X1T and Y1T,..., X6t and Y6T |
Polar Functions | r1, r2, r3, r4, r5, r6 |
Sequence functions | u, v, w |
Stat Plots | Plot1, Plot2, Plot3 |
Graph databases | GDB1, GDB2,..., GDB9, GDB0 |
Graph pictures | Pic1, Pic2,..., Pic9, Pic0 |
Strings | Str1, Str2,..., Str9, Str0 |
Apps | Applications |
AppVars | Application variables |
Groups | Grouped Variables |
System variables | Xmin, Xmax, and others |
The first two TI-83+ exclusive variables can not really be stored to by the user. To modify the third TI-83+ variable (Group), go to [2nd][MEM]>Group . Number variables can be used in place of numbers in most cases. The remaining variables except Functions should be stored to with the STO arrow. Example:
:1A :A+21A :"STRING EXAMPLE "Str1 :Disp A,Str1Guess how this shows up..
22 STRING EXAMPLEFunctions are a litle different than the other variables. To store to them, you put the function's name, an equal sign, and the function you want to store. Ex:
:Y1=(2X+3)/4I can't think of a use in a program for a function that wouldn't require me to draw a graph, so that's all I have for an example.
Previous tutorial ^ Next tutorial