Creating a list, Working with lists, Single-argument commands – HP 49g Graphing Calculator User Manual

Page 162: Multiple-argument commands, Creating a list -6, Working with variables -8, Lists, 0 q), Menu, Probability

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Lists

A list is a collection of any niutiber of objects. The objects can be of any
type—numbers, character strings, and so on—and objects of different

types can appear in the one list. A list is represented on the HP 49G by a
pair of braces ({)) suiToimding a collection of objects.

Creating a list

1. Press 0 0

This indicates that you want to create a list.

2. Enter the elements you want to include in the list, separating each with

a comma (that is,

0 Q).

3. Press

Working with Lists

Single-argument commands

Commands that require only one argiunent can be applied to each element

in a list in a single operation.

For example, to find the square root of 5, 6, and 7:

1. Press ©.

2. Press005©O6©Q7.

3. Press (ENTER).

The positive square root of each of the three numbei's in tlie list is
returned, with the three results displayed in a list.

Multiple-argument commands

Commands that require more than one argument can be applied to each
element in a list in a single operation.

For example, suppose you want to calculate how many samples of 4
objects can be made from populations of 5, 6, and 7 objects.

1. Press 0 (MTti) to select the

math

menu.

2. Use the arrow keys to highlight the

PROBABILITY

menu.

3. Press

OK

or (ENTER).

4. Press

OK

or (ENT© to select the

COMB

command.

Page 8-6

Vectors, lists, arrays, and matrices

Advertising