
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
Содержание EL-9650
Страница 10: ...viii ...
Страница 46: ...36 CHAPTER 1 ...
Страница 230: ...220 CHAPTER 9 ...
Страница 268: ...258 CHAPTER 12 ...
Страница 349: ...339 APPENDIX When coordinate system is Rect param or polar ...
Страница 350: ...340 APPENDIX When coordinate system is Seq F STYLE2 E STYLE1 ...
Страница 352: ...342 APPENDIX ...
Страница 353: ...343 APPENDIX on Program screen ...
Страница 354: ...344 APPENDIX ...
Страница 355: ...345 APPENDIX ...
Страница 356: ...346 APPENDIX ...
Страница 357: ...347 APPENDIX ...
Страница 358: ...348 APPENDIX ...