HP (Hewlett-Packard) 39G Calculator User Manual


 
13-8 Lists
CONCAT Concatenates two lists into a new list.
CONCAT(list1
,
list2)
Example
CONCAT({1,2,3},{4}) returns {1,2,3,4}.
LIST Creates a new list composed of the differences between the
sequential elements in list1. The new list has one fewer
elements than list1. The first differences for {x
1
x
2
... x
n
} are
{x
2
x
1
... x
n
x
n–1
}.
LIST(list1)
Example
In HOME, store {3,5,8,12,17,23} in L5 and find the first
differences for the list.
>+20(@>6+,)7@{3,5,8,12,
17,23 >6+,)7@}
>$/3+$@L 5>(17(5@
>0$7+@L *A,
Select 1LIST
>$/3+$@L5>(17(5@
MAKELIST Calculates a sequence of elements for a new list. Evaluates
expression with variable from begin to end values, taken at
increment steps.
MAKELIST(expression
,
variable
,
begin
,
end
,
increment)
The MAKELIST function generates a series by automatically
producing a list from the repeated evaluation of an expression.
Example
In HOME, generate a list of squares from 23 to 27.
>0$7+@L *A,Select
MAKELIST
>$/3+$@A >[@
>@>$/3+$@A >@23>@27
>@1 >@
>(17(5@
HINT
If the Decimal Mark setting in the Modes input form
(>6+,)7@MODES)is set to Comma, use > @ instead of >@.