User's Manual

Chapter 2: Math Operations
47
7302ENG.DOC CH2 Math Operations, English Julie Hewlett Revised: 07/29/98 11:58 AM Printed: 05/19/99 8:58
AM Page 47 of 32
Find the fractional part of 1
1
/
2
.
1"
4 1
<
1
=
2
"Eb
min( and max( min( and max(
1
"
5 and 6 5 and 6
These are identical to the
min(
and
max(
commands found on
the - v
MATH
menu.
min(
(minimum) returns the smaller of two values or the
smallest element in one list. value can be a real number,
expression, or a list.
If both arguments are lists, they must have the same number
of elements. If one argument is a list and the other a non-list,
the non-list is compared with each element of the list, and a
list is returned.
min(
valueA,valueB
)
min(
list
)
max(
(maximum) functions exactly like
min(
, but it always
returns the larger of two values or the largest element in a list.
max(
valueA,valueB
)
max(
list
)
For this example, the Decimal mode settings are set to
Float
.
Compare
L
1
and
L
2
to find the
min(
and
max(
.
L
1
={1,2,3}
, and
L
2
={3,2,1}
.
1. Define
L
1
and
L
2
in the List
editor.
3
For more information on entering lists,
see Chapter 5: Lists.
³
³