2-5-2

List Calculations

kLIST Variable Element Operations

You can recall the value of any element of a LIST variable. When the values {1, 2, 3} are assigned to “lista”, for example, you can recall the second value in the “lista”, when you need it.

You can also assign a value to any element in a list. When the values {1, 2, 3} are assigned to “lista”, for example, you can replace the second value with “5” to end up with {1, 5, 3}. After performing the procedure under “Inputting List Data from the Work Area”, perform the following operation.

u ClassPad Operation

(1)Recall the value of the second element of LIST variable “lista”.

0lista9[c]w

(2)Assign “5” to the second element of LIST variable “lista”. fW0lista9[c]w

Tip

You can also perform the above operations on the “ans” variable (page 2-2-2) when it contains LIST data.

Example: {1, 2, 3, 4} w

{1, 2, 3, 4}

D[c]w 2

kInputting List Data Using the List Editor Window

Tapping (displays the List Editor window, which you can then use to input list data. List data input this way is assigned to a LIST variable, so you can access it by specifying the applicable variable name.

For more information about using the List Editor window to create a list, see “7-2 Using List Editor”.

20050501