45
Chapter 3: Basic Calculations — Basic Keyboard
6 min( min(
list
)
Finds and returns the minimum value within a list of numbers. To
define a list of more than two numbers, group the numbers with
brackets (@ { and @ }), with each element
separated by a comma.
Example
• Find the smallest value among 4, 5, and
-9.
M B 6 @ { 4 , 5 , _ 9
@ } ) E
7 max( max(
list
)
Finds and returns the maximum
value within a list of numbers.
Example
• Find the largest value among 4, 5, and
-9.
M B 7 @ { 4 , 5 , _ 9
@ } ) E
8 lcm( lcm(
natural number
,
natural number
)
Returns the least common multiple of two integers.
Example
• Find the least common multiple of 12 and 18.
M B 8 1 2 , 1 8 ) E
9 gcd( gcd(
natural number
,
natural
number
)
Returns the greatest common
divisor of two integers.
Example
• Find the greatest common divisor of 16 and 36.
M B 9 1 6 , 3 6 ) E