242
CHAPTER 12
Typical uses of variables in a program:
1
5
⇒
X (5
Î
Å
X
): This program line substitutes the value 5 for the
variable X. (“5” is stored in the X memory space.)
2
MX + B
⇒
Y (
Ï
MXÅ+ÅB
ÎÅY
):
This program line substitutes the value “(M
×
X) + B” for Y. The value of X is entered
from memory.
<Example 1>
Try programming this equation. (Use the program name “SLOPE”.)
Program contents
Key operation
SLOPE
Press
Ï
C
®
to enter the programming
mode.
Press
S
L
O
P
E
®
to input the title.
Input M
Ï
A
3
Å
M
®
Input B
Ï
A
3
Å
B
®
MX+B
⇒
Y
Ï
M
X
Å
+
Å
B
Î
Å
Y
®
“Y
Ï
A
1
Ï
A
2
Å
Y
®
Print Y
Ï
A
1
Å
Y
≥
Press
Ï
œ
to end the program.
*
Input: this command requests the input of a variable.
Print: this command displays the value of the variable on the screen.
• Execute the program.
1. Press
Ï
A
to search for the program
name “SLOPE”.
2. Press
01
when at address 01, as shown to
the right.
EL-9650-(12)En (239-258)
8/1/00, 9:31 AM
242
Summary of Contents for EL-9650
Page 10: ...viii ...
Page 46: ...36 CHAPTER 1 ...
Page 230: ...220 CHAPTER 9 ...
Page 268: ...258 CHAPTER 12 ...
Page 349: ...339 APPENDIX When coordinate system is Rect param or polar ...
Page 350: ...340 APPENDIX When coordinate system is Seq F STYLE2 E STYLE1 ...
Page 352: ...342 APPENDIX ...
Page 353: ...343 APPENDIX on Program screen ...
Page 354: ...344 APPENDIX ...
Page 355: ...345 APPENDIX ...
Page 356: ...346 APPENDIX ...
Page 357: ...347 APPENDIX ...
Page 358: ...348 APPENDIX ...