How To Program Texas Instruments Ti 83 Plus

People are currently reading this guide.

Have you ever looked at your TI-83 Plus calculator and thought, "There must be more to this than just crunching numbers"? Well, you're absolutely right! Your trusty TI-83 Plus is a surprisingly powerful little machine, capable of running programs that can automate tedious calculations, solve complex equations, and even play simple games. Programming it might seem daunting at first, but with this detailed, step-by-step guide, you'll be writing your own programs in no time.

Step 1: Getting to Know Your Calculator's Programming Environment

Before we dive into writing code, let's get acquainted with the TI-83 Plus's programming interface. It's like preparing your workspace before starting a big project!

1.1 Locating the PRGM Button

The heart of your programming journey lies with the PRGM button. Press it now. You'll see three menus at the top of your screen: EXEC, EDIT, and NEW.

  • EXEC (Execute): This is where you'll go to run programs that are already stored on your calculator.

  • EDIT: This is where you'll modify existing programs.

  • NEW: This is where you'll create a brand new program from scratch.

1.2 Navigating the Menus

Use the left () and right () arrow keys to move between these three menus. For now, we want to create a new program, so make sure NEW is highlighted.

1.3 Creating Your First Program (Hello World!)

Let's start with a classic: a "Hello World" program. This simple program will just display "HELLO" on your screen. It's a great way to ensure everything is set up correctly.

  1. With NEW highlighted, press ENTER.

  2. The calculator will prompt you for a program name: PRGM NAME=. You can use up to eight characters for your program name. The first character must be a letter.

    • To type letters, press the ALPHA button (located below the 2nd key) and then the corresponding key with the letter above it. For example, to type "H", press ALPHA then the 8 key (which has 'H' above it).

    • Let's name our program HELLO. Type H E L L O.

  3. Once you've typed HELLO, press ENTER. You'll now be in the program editor, and the first line will show :ClrHome.

Step 2: Writing Your First Lines of Code

Now that we're in the program editor, it's time to tell your calculator what to do!

2.1 The ClrHome Command

The :ClrHome command is automatically added when you create a new program. It simply clears the home screen before your program runs, ensuring a clean slate for your output. It's good practice to leave it there.

2.2 Adding the Disp Command

We want our program to display "HELLO". The command for displaying text is Disp.

  1. With your cursor on the line after :ClrHome, press the PRGM button again.

  2. This time, you'll see a list of programming commands. Use the right () arrow key to highlight the I/O (Input/Output) menu.

  3. Scroll down using the down () arrow key until you find 8:Disp.

  4. Press ENTER to select Disp. Your screen should now show :Disp.

2.3 Typing Text with Quotes

To display text, you need to enclose it in quotation marks.

  1. After :Disp, press ALPHA and then + (which has the quotation mark " above it).

  2. Now, type "HELLO" using the ALPHA keys: H E L L O.

  3. Close the quotation marks by pressing ALPHA then + again.

  4. Your line should now look like this: :Disp "HELLO"

  5. Press ENTER to go to the next line.

2.4 Exiting and Saving Your Program

Your program is complete! To exit the program editor and save your work:

  1. Press 2nd (the yellow key) and then MODE (which has QUIT above it). This will take you back to the home screen. Your program is automatically saved.

Step 3: Running Your Program

You've written your first program! Let's see it in action.

  1. From the home screen, press the PRGM button.

  2. Make sure the EXEC menu is highlighted (use the left () arrow if it's not).

  3. You'll see a list of your programs. Scroll down using the down () arrow key until you find HELLO.

  4. Press ENTER to select HELLO.

  5. The program name prgmHELLO will appear on your home screen. Press ENTER one more time to run it.

Voila! Your calculator should now display "HELLO" on the screen. Congratulations, you've just programmed your TI-83 Plus!

Step 4: Introducing User Input and Variables

"Hello World" is fun, but let's make our programs interactive. We'll use the Prompt command to get input from the user and store it in a variable.

4.1 Editing an Existing Program

Let's modify our HELLO program to ask for your name.

  1. Press PRGM.

  2. Use the right () arrow key to highlight the EDIT menu.

  3. Scroll down to HELLO and press ENTER.

4.2 Using the Prompt Command

We'll ask the user for their name and store it in a variable. The TI-83 Plus has 27 numeric variables (A-Z and ) and string variables (Str1-Str0). Let's use Str1 for the name.

  1. Move your cursor to the line after :ClrHome.

  2. Press PRGM, go to the I/O menu, and select 2:Prompt.

  3. After :Prompt, we need to specify where to store the input. To get Str1:

    • Press VARS (Variables).

    • Use the right () arrow to highlight 7:String...

    • Select 1:Str1.

  4. Your line should look like this: :Prompt Str1. Press ENTER.

4.3 Displaying the Input with Disp

Now, let's display a personalized greeting.

  1. On the next line, press PRGM, go to I/O, and select 8:Disp.

  2. After :Disp, type "HELLO, " (remember the quotes!): ALPHA + H E L L O , ALPHA +.

  3. To combine text and a variable, use a comma. Press the comma key (,) located above the 7 key.

  4. Now, add Str1: Press VARS, go to 7:String..., and select 1:Str1.

  5. Your full line should be: :Disp "HELLO, ",Str1

  6. Press ENTER.

4.4 Running Your Modified Program

  1. Press 2nd, then MODE (QUIT).

  2. Press PRGM, go to EXEC, select HELLO, and press ENTER twice.

The calculator will now prompt you with Str1=?. Type your name (using ALPHA for letters) and press ENTER. It should then display "HELLO, [Your Name]". Pretty cool, right?

Step 5: Conditional Logic with If Statements

Programs become truly powerful when they can make decisions. This is where If statements come in. Let's create a simple number guessing game.

5.1 Creating a New Program (GUESS)

  1. Press PRGM, highlight NEW, and press ENTER.

  2. Name the program GUESS and press ENTER.

  3. You'll start with :ClrHome.

5.2 Generating a Random Number

We'll have the calculator pick a random integer between 1 and 10.

  1. On the second line, we need randInt(1,10)→N.

    • Press MATH.

    • Use the right () arrow to highlight PROB.

    • Select 5:randInt(.

    • Type 1,10).

    • To store this in variable N, press STO► (the store button, located above ON).

    • Press ALPHA then LN (which has 'N' above it).

  2. Your line should be: :randInt(1,10)→N. Press ENTER.

5.3 The Repeat Loop for Guessing

We want the user to keep guessing until they get it right. A Repeat loop is perfect for this.

  1. Press PRGM, highlight CTL (Control), and select 6:Repeat.

  2. After :Repeat, we need the condition for repeating. We'll repeat until the guess (G) equals the number (N). So, G=N.

    • Press ALPHA then 3 (for 'G').

    • Press 2nd then MATH (TEST). Select 1:=.

    • Press ALPHA then LN (for 'N').

  3. Your line: :Repeat G=N. Press ENTER.

5.4 Prompting for a Guess

Inside the Repeat loop, we'll ask the user for their guess.

  1. Indented on the next line (indentation is just for readability, not required by the calculator), press PRGM, go to I/O, and select 2:Prompt.

  2. After :Prompt, type ALPHA then 3 (for 'G').

  3. Your line: :Prompt G. Press ENTER.

5.5 Implementing If Statements

Now, the core logic: telling the user if their guess is too high or too low.

  1. If G > N (Too High):

    • Press PRGM, highlight CTL, and select 1:If.

    • After :If, type ALPHA then 3 (for 'G').

    • Press 2nd then MATH (TEST). Select 3:>.

    • Press ALPHA then LN (for 'N').

    • Your line: :If G>N. Press ENTER.

    • On the next line (indented again for clarity), press PRGM, go to I/O, and select 8:Disp.

    • After :Disp, type "TOO HIGH": ALPHA + T O O H I G H ALPHA +.

    • Your line: :Disp "TOO HIGH". Press ENTER.

  2. If G < N (Too Low):

    • Press PRGM, highlight CTL, and select 1:If.

    • After :If, type ALPHA then 3 (for 'G').

    • Press 2nd then MATH (TEST). Select 5:<.

    • Press ALPHA then LN (for 'N').

    • Your line: :If G<N. Press ENTER.

    • On the next line, press PRGM, go to I/O, and select 8:Disp.

    • After :Disp, type "TOO LOW": ALPHA + T O O L O W ALPHA +.

    • Your line: :Disp "TOO LOW". Press ENTER.

5.6 Ending the Repeat Loop

After the If statements, we need to close the Repeat loop.

  1. On the next line, press PRGM, highlight CTL, and select 7:End. Press ENTER.

5.7 Winning Message

Once the loop ends (meaning G=N), display a success message.

  1. On the next line, press PRGM, go to I/O, and select 8:Disp.

  2. After :Disp, type "CORRECT!": ALPHA + C O R R E C T ! ALPHA +.

  3. Your line: :Disp "CORRECT!". Press ENTER.

5.8 Running the Guessing Game

  1. Press 2nd, then MODE (QUIT).

  2. Press PRGM, go to EXEC, select GUESS, and press ENTER twice.

Play the game! The calculator will ask for G=?. Enter a number and press ENTER. It will tell you if it's too high or too low until you guess correctly.

Step 6: More Advanced Concepts: Loops and Menus

Let's explore other essential programming constructs.

6.1 The For Loop

A For loop is great for repeating a block of code a specific number of times. Let's make a program that counts.

  1. Create a new program named COUNT.

  2. Add :ClrHome.

  3. On the next line, add a For loop that counts from 1 to 10.

    • Press PRGM, highlight CTL, and select 4:For(.

    • After For(, type I,1,10). I is our loop variable (you can use any letter A-Z), 1 is the start, and 10 is the end.

    • Your line: :For(I,1,10). Press ENTER.

  4. Inside the loop, display the value of I.

    • Press PRGM, go to I/O, select 8:Disp.

    • After :Disp, type ALPHA then 4 (for 'I').

    • Your line: :Disp I. Press ENTER.

  5. Add a small delay so you can see the numbers count.

    • Press PRGM, highlight CTL, and select 8:Pause. Press ENTER.

  6. End the For loop.

    • Press PRGM, highlight CTL, and select 7:End. Press ENTER.

  7. Run the COUNT program. You'll see numbers from 1 to 10 displayed, pausing after each one. Press ENTER to continue after each pause.

6.2 Creating a Simple Menu with Menu(

The Menu( command allows you to create interactive menus for your programs.

  1. Create a new program named MENUEX.

  2. Add :ClrHome.

  3. On the next line, we'll create a menu with two options.

    • Press PRGM, highlight CTL, and scroll down to C:Menu(.

    • After Menu(, you need to provide a title (in quotes), then option names (in quotes), followed by labels for where to jump if that option is selected.

    • Example: :Menu("CHOOSE","ADD",1,"SUBTRACT",2)

      • "CHOOSE" is the menu title.

      • "ADD" is the first option, and 1 is its label.

      • "SUBTRACT" is the second option, and 2 is its label.

    • Your line: :Menu("CHOOSE","ADD",1,"SUBTRACT",2). Press ENTER.

  4. Define the labels (Lbl) and their actions.

    • For ADD:

      • Press PRGM, highlight CTL, and select 1:Lbl.

      • After Lbl, type 1.

      • Your line: :Lbl 1. Press ENTER.

      • On the next line, add: :Disp "ADD SELECTED".

      • Press ENTER.

      • To exit the program after selection, add Stop. Press PRGM, highlight CTL, and select A:Stop.

      • Your line: :Stop. Press ENTER.

    • For SUBTRACT:

      • Press PRGM, highlight CTL, and select 1:Lbl.

      • After Lbl, type 2.

      • Your line: :Lbl 2. Press ENTER.

      • On the next line, add: :Disp "SUBTRACT SELECTED".

      • Press ENTER.

      • Add :Stop.

      • Your line: :Stop. Press **`ENTER``.

  5. Run the MENUEX program. You'll see a menu where you can select "ADD" or "SUBTRACT".

Step 7: Understanding Data Types and Basic Math Operations

TI-BASIC supports various data types and fundamental mathematical operations.

7.1 Numeric Variables

As seen with A to Z and , these store real or complex numbers.

  • To assign a value: 5→A (Press 5, then STO►, then ALPHA MATH for 'A').

  • To display: Disp A.

7.2 Lists

Lists (L1 through L6) are great for storing collections of numbers.

  • To access lists: Press 2nd then 1 for L1, 2nd then 2 for L2, etc.

  • To create/edit: Press STAT, then 1:Edit.... Enter your data.

  • In a program:

    • {1,2,3}→L1 (stores 1, 2, 3 into L1).

    • Disp L1(2) (displays the second element of L1, which is 2).

7.3 Matrices

Matrices ([A] through [J]) store rectangular arrays of numbers.

  • To access/edit: Press 2nd then x⁻¹ (MATRIX), then EDIT.

  • In a program:

    • [[1,2],[3,4]]→[A] (stores a 2x2 matrix into [A]).

    • Disp [A](1,2) (displays the element in row 1, column 2 of matrix [A], which is 2).

7.4 Strings

Strings (Str1 through Str0) store text. We've already used Str1.

  • To assign: "HELLO"→Str1 (Remember quotes!).

  • To display: Disp Str1.

7.5 Basic Arithmetic Operations

The TI-83 Plus handles standard arithmetic: +, -, * (multiplication), / (division), ^ (exponentiation).

  • Disp 5+3 displays 8.

  • Disp (9-4)*2 displays 10.

  • Disp 2^3 displays 8.

Step 8: Debugging Your Programs

Even experienced programmers make mistakes! The TI-83 Plus has basic error handling to help you.

8.1 Syntax Errors

These occur when you've typed something incorrectly, like missing a parenthesis or quotation mark.

  • Example: If you typed :Disp "HELLO (missing the closing quote) and tried to run the program, you'd get a SYNTAX ERROR.

  • When an error occurs, you'll see an error message. You usually have two options:

    • 1:Quit: Returns you to the home screen without fixing the error.

    • 2:Goto: Takes you directly to the line in your program where the error occurred. Always choose Goto! It helps you pinpoint and correct the problem.

8.2 Other Common Errors

  • ERR:DOMAIN: Occurs when a function is used with an invalid input (e.g., sqrt(-1) in Real mode).

  • ERR:DIM MISMATCH: Usually happens with lists or matrices when trying to perform operations on items of different sizes.

  • ERR:DATA TYPE: Occurs when you try to use a command with an incorrect data type (e.g., trying to do math with a string).

The key to debugging is patience and careful review of your code. Look for typos, missing commands, or incorrect variable usage.

Step 9: Transferring Programs (Optional but Useful)

If you have a TI-83 Plus and a TI Connectivity Cable (Graph Link Cable), you can transfer programs between your calculator and a computer, or even between two calculators.

9.1 Using TI Connect Software (Computer to Calculator)

  1. Download TI Connect: Get the free TI Connect CE software from the Texas Instruments website.

  2. Connect your calculator: Use the TI Connectivity Cable (USB or Serial) to connect your TI-83 Plus to your computer.

  3. Launch TI Connect: Open the software.

  4. Send/Receive Files: Use the "Send to Calculator" or "Receive from Calculator" functions within the software to manage your programs. This is incredibly useful for backing up your work or downloading programs from online communities.

9.2 Calculator-to-Calculator Transfer

This is handy if you want to share programs with a friend.

  1. Connect Link Cables: Connect the small black link cable (unit-to-unit cable) between the two calculators.

  2. On the Receiving Calculator:

    • Press 2nd then X,T,θ,n (LINK).

    • Use the right () arrow to highlight RECEIVE.

    • Press ENTER. The calculator will say "Waiting..."

  3. On the Sending Calculator:

    • Press 2nd then X,T,θ,n (LINK).

    • Select 3:Prgm.

    • Use the down () arrow to highlight the program(s) you want to send.

    • Press ENTER next to each program name to select it (a small black square will appear).

    • When all desired programs are selected, use the right () arrow to highlight TRANSMIT.

    • Press ENTER.

The programs will transfer, and both calculators will confirm the successful transfer.

Step 10: Expanding Your Programming Horizons

You've learned the basics, but there's a vast world of TI-BASIC programming to explore!

10.1 More Commands

The PRGM menu is full of powerful commands under CTL (control flow), I/O (input/output), and EXEC (executing other programs). Spend some time exploring these menus! Press a command to see what it does, or refer to your calculator's guidebook or online resources.

10.2 Mathematical Programs

  • Quadratic Formula Solver: Program your calculator to solve for the roots of a quadratic equation given A, B, and C.

  • Area/Perimeter Calculator: Create a program that asks for dimensions of a shape and calculates its area and perimeter.

  • Unit Converter: Develop a program to convert between different units (e.g., Celsius to Fahrenheit).

10.3 Fun Programs

  • Simple Games: Beyond a guessing game, try building a basic dice roller, rock-paper-scissors, or even a primitive text-based adventure.

  • Utilities: A program to quickly calculate tips, or a study tool for flashcards.

The possibilities are limited only by your imagination and the calculator's capabilities. Don't be afraid to experiment, make mistakes, and learn from them! Happy programming!


10 Related FAQ Questions

How to delete a program on TI-83 Plus?

To delete a program, press 2nd then + (MEM), select 2:Mem Mgmt/Del..., then 7:Prgm. Scroll to the program you wish to delete and press DEL, then confirm by selecting 2:Yes.

How to reset the TI-83 Plus calculator to factory settings?

To perform a full RAM clear (resetting most settings and deleting programs/data), press 2nd then + (MEM), select 7:Reset, then 1:All RAM..., and finally 2:Reset. Be warned: this will erase all your stored data and programs!

How to optimize programs for speed on TI-83 Plus?

Optimization often involves using more efficient commands (e.g., Disp multiple items with commas rather than multiple Disp lines), minimizing redundant calculations, and choosing appropriate loop structures. Avoiding unnecessary Disp or Input commands within loops can also significantly speed up execution.

How to use lists in TI-83 Plus programming?

Lists can be accessed directly by their names (L1, L2, etc.). To use them in a program, you can store values using {val1,val2,...}→Lx, prompt for list input using Prompt L1, or manipulate individual elements using Lx(index).

How to create a menu-driven program on TI-83 Plus?

Use the Menu("Title","Option1",Lbl1,"Option2",Lbl2) command to display a menu. Then, define the corresponding actions using Lbl 1, Lbl 2, etc., followed by a Stop or Goto command to direct program flow.

How to handle errors in TI-83 Plus programs?

While TI-BASIC doesn't have advanced error handling like try-catch blocks, you can anticipate common user errors (like invalid input) and use If statements to check input validity and provide informative messages using Disp.

How to make a guessing game on TI-83 Plus?

A basic guessing game involves using randInt(min,max)→N to generate a random number, a Repeat G=N loop to keep prompting for guesses, and If G>N and If G<N statements with Disp messages to guide the user.

How to program the quadratic formula on TI-83 Plus?

You would typically Prompt A,B,C for the coefficients. Then, calculate the discriminant () and use If statements to check if it's positive, zero, or negative. Calculate the roots accordingly using the quadratic formula and Disp the results. You'd need to handle complex roots if your calculator is in "a+bi" mode.

How to transfer programs from a TI-83 Plus to another TI-83 Plus?

Connect the two calculators with a unit-to-unit link cable. On the receiving calculator, go to LINK then RECEIVE. On the sending calculator, go to LINK, select 3:Prgm, choose the programs to send (press ENTER on them), and then select TRANSMIT.

How to find available memory on TI-83 Plus?

Press 2nd then + (MEM), then select 1:About. This will show you the available RAM and Archive memory on your calculator.

6205250711084823029

hows.tech

You have our undying gratitude for your visit!