beautypg.com

Including list sort functions in a program – Casio ClassPad 300 User Manual

Page 584

background image

20021201

12-7-3

Including ClassPad Functions in Programs

Including Recursion Table and Recursion Graph Functions in a Program

Recursion table and recursion graph functions can be included in a program to generate
number tables and draw graphs.

Example: DefaultSetup

ViewWindow 0, 6, 1, –0.01, 0.3, 1
SeqType "a

n+1

a

0

"

"–3a

n

^2 + 2a

n

" S a

n+1

0 S SqStart
6 S SqEnd
0.01 S a

0

DispSeqTbl
Pause
DrawSeqCon

Including List Sort Functions in a Program

List sort functions let you sort list data into either ascending or descending order. Make sure
the list contains data before executing a sort function.

u To sort data of a single list in ascending order

MultiSortA

u To sort multiple lists in ascending order, based on the data in one list

MultiSortA ,,…
• Up to six list names can be specified, including the base list name.

u To sort data of a single list in descending order

MultiSortD

u To sort multiple lists in descending order, based on the data in one list

MultiSortD ,,…
• Up to six list names can be specified, including the base list name.