Using The Graph Function In Programs - LEXIBOOK GC500i Instruction Manual

Graphic calculator
Table of Contents

Advertisement

This program calculates the x power of 2. A prompt of "N=?" appears for data input. The result is displayed
by pressing
while "X=" is displayed. When an input data is not the x power of 2, the display
EXE
"NO" appears and execution returns to the beginning for reinput.
*** Always follow a message with a
Assuming that the program is stored in P2:
Prog
0
EXE
4096
EXE
EXE
EXE
3124
EXE
Prog
0
EXE
512
EXE
EXE
The display is capable of showing up to 12 alpha characters at one time. For messages that are longer than
12 characters us
(Disp) to divide the message.

4.10 USING THE GRAPH FUNCTION IN PROGRAMS

Using the graph function within programs makes it possible to graphically represent long, complex
equations and to overwrite graphs repeatedly. All graph commands (except the Trace function) can be
included in programs. Range values can also be written into the program.
Generally, manual graph operations can be used in programs without modification.
Example 1: Graphically determine the number of solutions (real roots) that satisfy both of the
following two equations.
y=x
-x
-24x
4
3
y=10x-30
The range values are as follows.
Xmin
:
-10
Xmax
:
10
Xscl
:
2
First, program the range setting. Note that values are separated from each other by commas ",".
Range, (-), 1, 0, ', 1, 0, ', 2, ', (-), 1, 2, 0, ', 1, 5, 0, ', 5, 0
Next, program the equation for the first graph.
Graph, X, x
, 4, -, X, x
y
Finally program the equation for the second graph.
Graph, 1, 0, X, -, 3, 0
When inputting this program, press
The following should appear on the display when the program is executed:
Prog
0
Copyright L
2002
EXIBOOK
whenever a formula follows the message.
N = ?
X =
12.
N = ?
NO
N = ?
X =
9.
+4x+80
2
Ymin
:
-120
Ymax
:
150
Yscl
:
50
, 3, -, 2, 4, X, x
, +, 4, X, +, 8, 0
y
2
after input of the ranges and the first equation.
:
EXE
Total 47 steps
- 65 -
GB

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gc1000i

Table of Contents