Chapter 11: Lists
176
mean(
list
[
,
freqlist
]
)
median(
list
[
,
freqlist
]
)
MathPrint™
Classic
sum(, prod(
sum(
(summation) returns the sum of the elements in
list
.
start
and
end
are optional; they specify a
range of elements.
list
elements can be real or complex numbers.
prod(
returns the product of all elements of
list
.
start
and
end
elements are optional; they specify a
range of list elements.
list
elements can be real or complex numbers.
Sums and Products of Numeric Sequences
You can combine
sum(
or
prod(
with
seq(
to obtain:
To evaluate
G
2
(N–1)
from N=1 to 4:
stdDev(, variance(
stdDev(
returns the standard deviation of the elements in
list
. The default value for
freqlist
is 1. Each
freqlist
element counts the number of consecutive occurrences of the corresponding element in
list
.
Complex lists are not valid.
sum(
list
[
,
start
,
end
]
)
prod(
list
[
,
start
,
end
]
)
upper
G
expression(x)
x=lower
upper
∏
expression(x)
x=lower