beautypg.com

Displaying the current graph, Chapter 12: programming, Write a program named – Texas Instruments TI-73 EXPLORER User Manual

Page 249

background image

Chapter 12: Programming

243

7312ENG.DOC CH 12 Programming, English Julie Hewlett Revised: 07/29/98 12:17 PM Printed: 05/19/99 9:02

AM Page 243 of 32

Write a program named

INPUTVAR

that inputs two sets of data

and a function, and then solves the function using both of the

data sets.

PROGRAM:INPUTVAR

:Input "Y

=",Y

:Input "A=",A

:Input "¨DATA=",¨DATA

:Disp "Y

(A)=",Y

(A)

:Pause

:Disp "Y

(¨DATA)=",Y

(¨DATA)

:Pause

Displaying the Current Graph

Input

, with no arguments, displays the current graph. Once the

graph screen is shown, you can move the free-moving cursor,

which updates

X

and

Y

by a value of .1. The pause indicator is

displayed. Press b to resume program execution. The

Home screen then displays the X- and Y-coordinates.

:Input

Write a program named

GRPHINPT

that gets input from the

graph screen (the (X,Y) coordinates of the cursor’s position)

and displays the values on the Home screen.

PROGRAM:GRPHINPT

:FnOff

:PlotsOff

:ZDecimal

:Input

:Disp X,Y

:Pause

³

³

Surround Y

1

with quotation marks.

For Y

1

, press

-

}

2 1.

For

¨

, press

-

v

"

9.

Press

b

between

data displays.

Enclose list in { }.

For FnOff, press

-

}

2 6. For

PlotsOff, select

-

e

4.

For ZDecimal, press

(

8.

Move cursor to

desired location,

and press

b

.

X=2.6;

Y=1.5.