I-Calculator ye-GCD & LCM
Thola umhlukanisi omkhulu ojwayelekile kanye nokwehla okuncane kokuphindaphinda okujwayelekile kohlu lwezinhlamvu.
Iziphetho zivuselelwa uma ubhala.
Malunga nale khadi
you enter two or more whole numbers separated by commas or spaces and it tells you whether they are coprime. For 12, 18 and 24 the greatest common divisor is 6 and the least common multiple is 72. When the GCD is 1 the numbers share no common factor and are called coprime. When the GCD is 1 the numbers share no common factor and are called coprime. For 12, 18 and 24 the greatest common divisor is 6 and the least common multiple is 72. The resultTheGCDThe GCDThe GCD is what you use to reduce a fraction to lowest terms, while the LCM gives the common denominator for adding fractions and the period at which repeating cycles line upThe GCDThe G
Imibuzo ebuzwa kaningi
Uhlu lwe-GCD lubalwa kanjani?
Isebenzisa i-Euclidean algorithm: shintsha inani elikhulu ngengxenye eseleyo yokuhlukanisa amabini, kuze kube yilapho elinye libuye liyisi-zero. Okunye yi-GCD.
Ingabe i-GCD ne-LCM zihlobene kanjani?
Kumanani amabili, GCD × LCM = impahla yamanombolo. Ngakho LCM = a × b ÷ GCD, okuwukuthi indlela ithuluzi elidlulisa ngayo i-LCM phezu kohlu lonke.
Iyini inkinga?
Amanani amabili noma angaphezu kwalowo alinganayo uma umhlukanisi wabo omkhulu ojwayelekile u-1 — bangabelana ngezinto ezijwayelekile ngaphandle kwe-1. Ithuluzi likhombisa lokhu kuwe.
Ingabe ngingakwazi ukungenisa inani elingaphezu kwelombili?
Yebo. Yakha inani eliphelele nge-comma noma izithuba futhi i-GCD ne-LCM zibalolwe kuhele uhlu lonke.
Yini i-GCD ne-LCM ye-12, 18 ne-24?
Umhlukanisi omkhulu ojwayelekile u-6 (inombolo enkulu ehlukanisa zonke ezintathu) futhi oncane ojwayelekile ophindaphindwayo u-72.
Ingabe ukulandelana kwamanombolo kubaluleke?
Hayi. I-GCD kanye ne-LCM zombili zifana kungakhathaliseki ukuthi uhlela kanjani ukushaya inani.
API — sebenzisa le calculator kusuka kukhodi
Nquma le kalkuli njengendawo ephelezelwa i-JSON - akukho isitshixo esidingekayo. Thumela amaxabiso endawo ngezansi njengepharamitha yombuzo noma i-JSON. Funda i-API egcwele →
Ingxenye yendawo
GET https://calculator.free/api/v1/gcd-lcm/
curl
curl "https://calculator.free/api/v1/gcd-lcm/?numbers=12, 18, 24"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/gcd-lcm/?" + new URLSearchParams({
"numbers": "12, 18, 24"
}));
const data = await r.json();
console.log(data.results);
Izibalo ziyisilinganiso esisetshenziswa ukuqondisa kuphela, hhayi ukucebisa ngezimali, ukwelashwa noma ukukhokha.