2-4-10

Function Calculations

Problem

Use this keyboard:

 

Operation

 

 

 

 

mth

abc

cat

2D

 

 

 

 

 

 

 

 

Determine the greatest

 

 

Func

 

[iGcd] { 4 , 3 },{

common divisors of {4, 3},

 

 

 

 

12 , 6 },{ 36 , 9

{12, 6}, and {36, 9}.

 

 

 

 

})w

 

 

 

 

 

 

u“iLcm” Function

Syntax: iLcm(Exp-1, Exp-2[, Exp-3…Exp-10)] (Exp-1 through Exp-10 all are integers.) iLcm(List-1, List-2[, List-3…List-10)]

(All elements of List-1 through List-10 are integers.)

Function:

The first syntax above returns the least common multiple for two to ten integers.

The second syntax returns, in list format, the least common multiple (LCM) for each of the elements in two to ten lists. When the arguments are {a,b}, {c,d}, for example, a list will be returned showing the LCM for a and c, and for b and d.

Description:

All of the lists must have the same number of elements.

When using the “iLcm(List-1, List-2[, List-3…List-10)]” syntax, one (and only one) expression (Exp) can be include as an argument in place of a list.

Problem

Use this keyboard:

 

Operation

 

 

 

 

mth

abc

cat

2D

 

 

 

 

 

 

 

 

Determine the least common

 

 

Func

 

[iLcm] { 4 , 3 },{

multiples of {4, 3}, {12, 6},

 

 

 

 

12 , 6 },{ 36 , 9

and {36, 9}.

 

 

 

 

})w

 

 

 

 

 

 

u“iMod” Function

Syntax: iMod(Exp-1/List-1, Exp-2/List-2[)]

Function:

This function divides one or more integers by one or more other integers and returns the remainder(s).

Description:

Exp-1 and Exp-2, and all of the elements of List-1 and List-2 must be integers.

You can use Exp for one argument and List for the other argument (Exp, List or List, Exp) if you want.

If both arguments are lists, both lists must have the same number of elements.

20090601