# Difference between revisions of "LCM Command"

From GeoGebra Manual

Line 7: | Line 7: | ||

; LCM[Number a, Number b] | ; LCM[Number a, Number b] | ||

: Calculates the least common multiple of numbers ''a'' and ''b''. | : Calculates the least common multiple of numbers ''a'' and ''b''. | ||

− | ;LCM[ | + | ;LCM[List of Numbers] |

: Calculates the least common multiple of the list of numbers. | : Calculates the least common multiple of the list of numbers. | ||

− | ;LCM[ | + | ;LCM[Polynomial, Polynomial] |

: Calculates the least common multiple of the two polynomials. | : Calculates the least common multiple of the two polynomials. | ||

− | ;LCM[ | + | ;LCM[List of Polynomials] |

: Calculates the least common multiple of the list of polynomials. | : Calculates the least common multiple of the list of polynomials. |

## Revision as of 09:49, 16 August 2011

UK English: LCM = lowest common multiple

- LCM[Number a, Number b]
- Calculates the least common multiple of two numbers
*a*and*b*. - LCM[List of numbers]
- Calculates the least common multiple of the elements of the list.

## CAS Syntax

- LCM[Number a, Number b]
- Calculates the least common multiple of numbers
*a*and*b*. - LCM[List of Numbers]
- Calculates the least common multiple of the list of numbers.
- LCM[Polynomial, Polynomial]
- Calculates the least common multiple of the two polynomials.
- LCM[List of Polynomials]
- Calculates the least common multiple of the list of polynomials.