120 likes | 339 Views
54th Annual Conference October 14-16, 2004. Simple Programming on the TI-84 Plus. Bill Stiggers Bill@apk.net Lisa M Suarez-Caraballo LisaS@copper.net Cleveland Municipal School District Cleveland, Ohio. Programming Basics. Naming a program Writing a Program Editing a Program.
E N D
54th Annual ConferenceOctober 14-16, 2004 Simple Programming on the TI-84 Plus Bill Stiggers Bill@apk.net Lisa M Suarez-Caraballo LisaS@copper.net Cleveland Municipal School District Cleveland, Ohio .
Programming Basics • Naming a program • Writing a Program • Editing a Program
Press PRGM (Program) Naming a 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.
Writing a Program • Program Menu • Mode Menu • Alpha keys
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.
Writing a Program • 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.
Writing a Program 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!!
Test Your Program Run your program to 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 Select and run your program from the PRGM Menu
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
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.