Chapter 17 List Function A list is a kind of container that you can use to store multiple data items. This calculator lets you store up to six lists in a single file, and up to six files in memory. Stored lists can be used in arithmetic, statistical, and matrix calculations, and for graphing. Element number 1 2 3 4 5 6 7 8 17-1 17-2 17-3 17-4 17-5 Display range Cell Column List 1 56 37 21 69 40 48 93 30 List 2 1 2 4 8 16 32 64 128 List 3 107 75 122 87 298 48 338 49 List 4 3.5 6 2.1 4.4 3 6.8 2 8.
List Data Linking Operation Graph List operation Example: List 1 + List 2 {1, 2, 3} + {4, 5, 6} List 1 + 3 List internal operations List graphing Y1=List 1X From a graph to a list ↓w Table data generated by GRAPH TO TABLE to a list LIST Copying the column of a specific table to a specific list. Memory transfer Generating a table by defining a list as the variable.
17-1 List Operations Select the LIST icon in the Main Menu and enter the LIST Mode to input data into a list and to manipulate list data. uTo input values one-by-one Use the cursor keys to move the highlighting to the list name or cell you want to select. Note that c does not move the highlighting to a cell that does not contain a value. The screen automatically scrolls when the highlighting is located at either edge of the screen.
17 - 1 List Operations uTo batch input a series of values 1. Use the cursor keys to move the highlighting to another list. 2. Press !{, and then input the values you want, pressing , between each one. Press !} after inputting the final value. !{g,h,i!} 3. Press w to store all of the values in your list. w • Remember that a comma separates values, so you should not input a comma after the final value of the set you are inputting.
17-2 Editing and Rearranging Lists k Editing List Values uTo change a cell value Use d or e to move the highlighting to the cell whose value you want to change. Input the new value and press w to replace the old data with the new one. uTo delete a cell 1. Use the cursor keys to move the highlighting to the cell you want to delete. ddc 3 2. Press 3 (DEL) to delete the selected cell and cause everything below it to be shifted up.
17 - 2 Editing and Rearranging Lists uTo insert a new cell 1. Use the cursor keys to move the highlighting to the location where you want to insert the new cell. 2. Press 5 (INS) to insert a new cell, which contains a value of 0, causing everything below it to be shifted down. • Note that the above cell insert operation does not affect cells in other lists.
Editing and Rearranging Lists 17 - 2 3. In response to the “Select List (L)” prompt, input the number of the list you want to sort. Here we will input 2 to specify sorting of List 2. cw Descending order Use the same procedure as that for the ascending order sort. The only difference is that you should press 2 (SRT-D) in place of 1 (SRT-A). uTo sort multiple lists You can link multiple lists together for a sort so that all of their cells are rearranged in accordance with the sorting of a base list.
17 - 2 Editing and Rearranging Lists Descending order Use the same procedure as that for the ascending order sort. The only difference is that you should press 2 (SRT-D) in place of 1 (SRT-A). • You can sort up to six lists at one time. • If you specify a list more than once for a single sort operation, an error occurs. An error also occurs if lists specified for sorting do not have the same number of values (rows).
17-3 Manipulating List Data List data can be used in arithmetic and function calculations. In addition, various list data manipulation functions makes manipulation of list data quick and easy. You can use list data manipulation functions in the RUN, STAT, MAT, LIST, TABLE, EQUA and PRGM Modes. k Accessing the List Data Manipulation Function Menu All of the following examples are performed in the RUN Mode.
17 - 3 Manipulating List Data Example To create five data items (each of which contains 0) in List 1 AfaK1(LIST) 3(Dim) 1(List) bw Use the following procedure to specify the number of data rows and columns, the matrix name in the assignment statement, and to create a matrix.
Manipulating List Data Example 17 - 3 To input the number sequence 12, 62, 112 into a list Use the following settings. Variable: x Ending value: 11 Starting value: 1 Pitch: 5 AK1(LIST)5(Seq)v x,v,b,bb,f)w Specifying an ending value of 12, 13, 14, or 15 produces the same result as shown above since they are less than the value produced by the next increment (16).
17 - 3 Manipulating List Data uTo find which of two lists contains the greatest value [OPTN]-[LIST]-[Max] Use the same procedure as that for the smallest value, except press 2 (Max) in place of 1 (Min). • The two lists must contain the same number of data items. Otherwise, an error occurs.
Manipulating List Data 17 - 3 uTo calculate the median of values of specified frequency [OPTN]-[LIST]-[Med] This procedure uses two lists: one that contains values and one that contains the number of occurrences of each value. The frequency of the data in Cell 1 of the first list is indicated by the value in Cell 1 of the second list, etc. • The two lists must contain the same number of data items. Otherwise, an error occurs.
17 - 3 Manipulating List Data Example To calculate the cumulative frequency of each value in List 1 (2, 3, 6, 5, 4) AK1(LIST)6(g)6(g) 3(Cuml)6(g)1(List)bw 2+3= 2+3+6= 2+3+6+5= 2+3+6+5+4= uTo calculate the percentage represented by each value [OPTN]-[LIST]-[%] K1(LIST)6(g)6(g)4(%)6(g)1(List)w • The above operation calculates what percentage of the list total is represented by each value. • The result of this operation is stored in ListAns Memory.
Manipulating List Data 17 - 3 • You can specify the location of the new list (List 1 through List 6) with a statement like: A List 1 → List 2. You cannot specify another memory or ListAns as the destination of the A List operation. An error also occurs if you specify a A List as the destination of the results of another A List operation. • The number of cells in the new list is one less than the number of cells in the original list.
17-4 Arithmetic Calculations Using Lists You can perform arithmetic calculations using either two lists or one list and a numeric value. List Numeric Value + − × ÷ ListAns Memory List = Numeric Value Calculation results are stored in ListAns Memory. List k Error Messages • A calculation involving two lists performs the operation between corresponding cells. Because of this, an error occurs if the two lists do not have the same number of values (which means they have different “dimensions”).
Arithmetic Calculations Using Lists Example 1 17 - 4 To input the list: 56, 82, 64 !{fg,ic, ge!} Example 2 To multiply List 3 ( = 41 65 22 ) by the list 6 0 4 K1(LIST)1(List)d*!{g,a,e!}w The resulting list 246 0 is stored in ListAns Memory. 88 u To assign the contents of one list to another list Use a to assign the contents of one list to another list.
17 - 4 Arithmetic Calculations Using Lists k Recalling List Contents Example To recall the contents of List 1 K1(LIST)1(List)bw • The above operation displays the contents of the list you specify and stores them in ListAns Memory, which allows you to use the ListAns Memory contents in a calculation.
Arithmetic Calculations Using Lists 17 - 4 –0.158 The resulting list 0.8268 is stored in ListAns Memory. –8E–3 In place of the 1 (List) d operation in the above procedure, you could input !{ eb,gf,cc!}. Example 2 To use List 1 1 2 3 and List 2 4 5 6 to perform List 1List 2 List1MList2w This creates a list with the results of 14, 25, 36. 1 The resulting list 32 is stored in ListAns Memory.
17-5 Switching Between List Files You can store up to six lists (List 1 to List 6) in each file (File 1 to File 6). A simple operation lets you switch between list files. uTo switch between list files In the Main Menu, select the LIST icon and enter the LIST Mode. Press ! Z to display the LIST Mode set up screen. Press the function key to select the file you want.