GCD 指令
来自GeoGebra Manual
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版。
- GCD[ <Number>, <Number> ]
- GCD[ <List of Numbers> ]
此項指令在不同的英語地區有不同的拼字:
|
- GCD[Number a, Number b]
- Calculates the greatest common divisor of numbers a and b.
- 範例:
GCD[12, 15]
yields 3. - GCD[List of Numbers]
- Calculates the greatest common divisor of the list of numbers.
- 範例:
GCD[{12, 30, 18}]
yields 6.
CAS Syntax
- GCD[ <Number , Number> ]
- Calculates the greatest common divisor of the two numbers .
- 範例:
GCD[12, 15]
yields 3. - GCD[ <List of Numbers> ]
- Calculates the greatest common divisor of the list of numbers.
- 範例:
GCD[{12, 30, 18}]
yields 6. - GCD[ <Polynomial>, <Polynomial> ]
- Calculates the greatest common divisor of the two polynomials.
- 範例:
GCD[x^2 + 4 x + 4, x^2 - x - 6]
yields x + 2. - GCD[ <List of Polynomials> ]
- Calculates the greatest common divisor of the list of polynomials.
- 範例:
GCD[{x^2 + 4 x + 4, x^2 - x - 6, x³ - 4x² - 3x + 18}]
yields x + 2.