You are on page 1of 21

Teach Coding with your TI-84

Angela McCray-Hancock
Academic Dean
NCAIS Middle School Matters Conference
October 15, 2021
Objectives:
Learn how to write programs using the TI-84 that will
help you:
● Display Text
● Find the distance between two points
● Find the slope between two points
● Use the quadratic formula to find roots

Get Ready!!
● Have TI-84’s handy & powered on
● Download handout
YOU ARE AWESOME!!
Let’s try it…

Name your new program AWESOME


Let’s try it…

:Disp “I AM AWESOME!”
CODE UNSCRAMBLE
CODE UNSCRAMBLE

ANSWER!
Buttons to help you...
Check that your program works properly!

Find the distance between (-4, 5) and (3, 2)

RAD 58
Answer!
D=7.615773106
Let’s find the slope between two points
Some of the code is written out for you, and some you will have to fill in. Once
you complete entering the code, test your program with the following points:
a.(2,3) and (5, 4); b.(4, 5) and (-2, 5); c.(-2, 5) and (-2, -3)

Name = SLOPE

:ClrHome
:Disp “SLOPE FORMULA”, “”, “ENTER TWO POINTS”, “(X, Y) AND (A, B)”
:
:

Answers!
:
:
a. 0.333333333
: b. 0
:Disp “THE SLOPE IS”, M c. Error
DID YOU GET ANY ERROR MESSAGES?
What can we do to show that the slope is undefined?

Add if-then-else
to your program…

Then exec your


program testing
again:
(-2, 5) and (-2, -3) UNDEFINED SLOPE?
Last One!
Use the quadratic formula to find the roots of a quadratic equation!

Some of the code is written out for you, and some


you will have to fill in. Once you complete entering
the code, test your program to find the roots:

a) y = x2 + 2x -3 and b) y = x2 + 2x + 3

You’ve Got This!!!


Use the quadratic formula to find the roots of a quadratic equation!
Program 3 : Quadratic formula – 30 point quiz grade

What About Assessment?


_____/ 1 ClrHome command

_____/ 1 Intro Display command

_____/ 1 Variable Prompts

Sample rubric for


_____/ 1 If statement

_____/ 2 Then statement

programming assignments... _____/ 1 Else statement

_____/ 2 Formula(s)

_____/ 1 Display Answer Commands

_____/ 1 All code is visible (no …)

Quadratic
The roots are _____/ 1 Answers displayed as a decimal

a) 1, -3 _____/ 2 Answers correct

Answers!
b) not possible _____/ 1 Turned in on time (by end of class
on Friday 6/01/18)

Total = _____/15 pts = ________ / 30 Quiz Pts


MENU Challenges:

Download 2 more practice programs…

● Create menus to offer choice of


calculations
● Use a menu and inequalities to
determine heart disease risk
Thank you for your participation!
Angela McCray-Hancock
mccray-hancocka@canterburygso.org
336-288-2007 x172

You might also like