Programming Guide

20050401
8-6-8
Using Calculator Functions in Programs
Example Program
View Window 0, 1, 1, –0.2, 1, 1_
1
an+1 Type_
23
”–3an
2
+ 3an an+1_
0 R Start_
6 REnd_
0.01 a0_
0.01 an Start_
8
DispR-Tbl^
0
9
DrawWeb an+1, 30
Executing this program produces the results shown here.
Numeric Table Recursion graph
kk
kk
k Using List Sort Functions in a Program
These functions let you sort data in lists into ascending or descending order.
• Ascending order
12
SortA (List 1, List 2, List 3)
Lists to be sorted (up to six can be specified)
1
431
2
K11
• Descending order
3
SortD (List 1, List 2, List 3)
Lists to be sorted (up to six can be specified)
3
432
4
5
6
1
46232J
2
42
3
3
4
J6221
5
2
6
3
7
6661
8
!J6251
9
!J6252JJJ
0
46243
7