
256
CHAPTER 12
Execution:
Execute the program. After pressing
Ï
Ï
A
, select the program
(CONVERT) and press
®
.
When the program starts executing, a request will be made for the method of calcula-
tion, followed by a request for input of the temperature. When the temperature has
been input, the program will display the results.
<Example>
Conversion of 35°C to °F will appear as shown to the
right.
(2) Random substitution of numbers
• Create a program that fills the matrix M
×
N with random numbers from 0 to 9.
• The file name is “MATFILL”.
Input:
The program command input method (
Ï
) was explained in the previous
example so only items requiring special caution will be explained here.
Program
Key operation
MATFILL
1.
Input N
2.
Input M
3.
{N, M}
⇒
dim(mat A)
Ï
ÅN,ÅMÏ
Î
MATRIX
C01
MATRIX
A1)
4.
1
⇒
I
5.
Label FILL I
6.
1
⇒
J
7.
Label FILL J
8.
round (random, 3)
⇒
≥B2≥C1,
3
)Î
MATRIX
A
matA (I, J)
1(ÅI,ÅJ)
9.
J + 1
⇒
J
* Processing and display of the rounding of random numbers to
3 decimal places.
10. If J
≤
M Goto FILL J
11. I + 1
⇒
I
12. If I
≤
N Goto FILL I
13. Print matA
14. End
,
,
,
EL-9650-(12)En (239-258)
8/1/00, 9:31 AM
256
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 ...