Presentation is loading. Please wait.

Presentation is loading. Please wait.

Programming on the TI-84 and TI-Nspire

Similar presentations


Presentation on theme: "Programming on the TI-84 and TI-Nspire"— Presentation transcript:

1 Programming on the TI-84 and TI-Nspire
Sheryl Edwards Cleveland Metropolitan School District Lisa M Suarez-Caraballo, PhD Cuyahoga Community College .

2 TI-84* Programming Basics
Naming a program Writing a Program Editing a Program

3 Alpha Keys 2nd Alpha Lock (A-Lock) Space Quotes Question Mark

4 Naming a Program Press PRGM (Program)
Arrow over to NEW and press ENTER Use the ALPHA Keys to name your program and press ENTER. Note: the calculator is automatically put into ALPHA lock mode.

5 Writing a Program Program Menu Mode Menu Alpha keys

6 Writing a Program To write basic programs today we will mostly use the PRGM (Program) I/O Menu. We will start the program with 8:ClrHome and press ENTER. From the MODE Menu choose 2 to fix the decimal and press ENTER.

7 Writing a Program-Asking User
We’re going to write a program to find the area and the perimeter of a rectangle. We will use the Disp and Input commands that can be found in the PRGM I/O Menu. Use the Disp function and the ALPHA keys to ask the user for information like the length and width. Use Input to assign a variable to the number you just asked for. Make sure you press ENTER to move to the next line.

8 Writing a Program-Using Info
Write the equations on a new line and STOre the answer into a variable. Press ENTER. Place the Disp command on the next line followed by the sentence you would like to have displayed along with the answer. Don’t forget the comma!!

9 Test Your Program Program automatically saves Press to EXIT
Run your program by pressing select RECTANGL and press ENTER Find the area and perimeter of the following rectangles: a.) L=34 , W=27 b.)L=13 , W=15 c.) L=5.5 , W=6.28

10 Editing a Program We’re going to Edit the program to display the area and perimeter as a fraction. Arrow over to EDIT and press ENTER. Add the Frac function from the MATH menu to the program right after each Disp “PERIMETER” and “AREA” lines. Now Re-Do # 4C

11 TI-Nspire Programming
Writing and Naming a Program. Open New Document and Add a Calculator page:

12 TI-Nspire Programming
Press Menu and choose 9:Functions and Programs

13 TI-Nspire Programming
You are ready! Choose New and you will get this screen. Let’s find the area of a rectangle! Name your program rectangle!

14 TI-Nspire Programming
You can type all the letters in rectangle. The screen will come up like this: You can declare specific parameters (l,w)

15 TI-Nspire Programming
Be sure to use := when declaring a variable!

16 TI-Nspire Programming
Press Menu and select Check Syntax & Store

17 TI-Nspire Programming
You can Test your Program right beside the editor or open a new Calculator page.

18 TI-Nspire Programming
Edit the program to accept user input.: Take the parameters out of the first line. Use Menu I/O or type the word Request

19 TI-Nspire Programming
Don’t forget hit Menu to Check Syntax and Store your program. Run this test on another page: This time do not put anything in the ()!

20 Write your own Programs
Write a program to find the area and the circumference of a circle given its radius. Write a program to find the distance between two points given two points. Write a program to find the slope of a line when given two points. Challenge: Write a program to solve the quadratic equation. Give both solutions in a matrix.

21 Thank You


Download ppt "Programming on the TI-84 and TI-Nspire"

Similar presentations


Ads by Google