Math Operations

d

d displays a menu with two submenus. Some functions require you to enter 2 values, numbers, or expressions that equal or return a number. % ` separates two values.

MATH submenu:

lcm(n1, n2)

gcd(n1, n2)

Finds the least common multiple (lcm) or greatest common divisor (gcd) of two values, n1 and n2, which are positive integers.

n3

Calculates the cube of n.

3Ñ(n

Calculates the cube root of n.

NUM submenu:

abs(n)

Displays absolute value of n.

round(n,digits)

Rounds n to specified number of digits.

iPart(n)

fPart(n)

Returns only the integer part (iPart) or fractional (decimal) part (fPart) of n.

min(n1, n2)

max(n1, n2)

Returns the minimum (min) or maximum (max) of two values, n1 and n2.

remainder(n1, n2)

 

Returns the remainder resulting from the division of 2 values, n1 by n2.

Examples

abs

d " 1 M 2 P 3 <

round

d " 2 g % ` 3 E <

iPart, fPart

d " 3

23.45 E <

d " 4

23.45 E <

3Ñn, n3

2 d 3 <

 

d 4

8 <

remainder

d " 7

10 % ` 6 E <

³ Problem

Find the least common multiple of 30 and 84 using prime factorization by hand. Verify your work using the calculator.

2 V 3 V 5 <

2 F V 3 V 7 <

2 F V 3 V 5 V 7 <

d 1

30 % ` 84 E <

The lcm (30, 84) is 420.