Advertisement
Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

Decision Commands on the TI-84 Plus

The TI-84 Plus graphing calculator can handle three decision commands (If, If . . . Then . . . End, and If . . . Then . . . Else . . . End) in a program.

The If command on the TI-84 Plus

The structure of the If command appears in the first picture. If the condition following the If command is true, the program executes the command following the If statement (command 1) and then moves on to the next command in the program (command 2).

If the condition following the If command is false, the program skips the command following the If statement (command 1) and then moves on to the next command in the program (command 2).

An example of using the If command appears in the second picture. The program in this picture gives a 10 percent discount on items that cost $50 or more. The input and output commands (Input, Disp) in this program are housed in the Program I/O menu, which is accessed by pressing

image0.png

You can enter the inequality that appears in this picture by pressing [2nd][MATH][4].

image1.jpg

The If . . . Then . . . End command on the TI-84 Plus

The structure of the If . . . Then . . . End command appears in the first picture. If the condition following the If command is true, the program executes the commands between Then and End (commands 1) and then moves on to the next command in the program (command 2).

If the condition following the If command is false, the program skips the commands between Then and End (commands 1) and then continues on to the next command in the program (command 2).

An example of using the If . . . Then . . . End command appears in the second picture. The program in this picture gives a 10 percent discount on items that cost $50 or more and then takes off another $10 if the discounted cost is over $100.

image2.jpg

The If . . . Then . . . Else . . . End command on the TI-84 Plus

The structure of the If . . . Then . . . Else . . . End command appears in the first picture. If the condition following the If command is true, the program executes the commands between Then and Else (commands 1), skips the commands between Else and End (commands 2), and then moves on to the next command in the program (command 3).

If the condition following the If command is false, the program skips the commands between Then and Else (commands 1), executes the commands between Else and End (commands 2), and then moves on to the next command in the program (command 3).

An example of using the If . . . Then . . . Else . . . End command appears in the second picture. The program in this picture divides a number by 2 if it is even, or adds 3 to the number if it isn’t.

image3.jpg
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win an iPad Mini. Enter to win now!