GCD 指令

来自GeoGebra Manual
跳转至: 导航搜索
Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


GCD[ <Number>, <Number> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊
GCD[ <List of Numbers> ]
UnderConstruction.png
目前本頁中文說明尚未翻譯完成,請先連至英文說明。如果您有權限,請幫忙翻譯本頁的官方手冊


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.
© 2022 International GeoGebra Institute