I-Calculator ye-Pythagorean Theorem
Lungiselela i-triangle eqondile: thola i-hypotenuse noma i-leg elahlekile.
Iziphetho zivuselelwa uma ubhala.
Malunga nale khadi
The Pythagorean theorem states that in a right triangle a² + b² = c², where c is the hypotenuse — the longest side, opposite the right angle. This calculator solves for the hypotenuse from two legs, or for a missing leg from the hypotenuse and one leg, and also reports the triangle's area, perimeter and two acute angles.
To find the hypotenuse, add the squares of the legs and take the square root: a 3-4 right triangle has hypotenuse √(3² + 4²) = √(9 + 16) = √25 = 5. To find a missing leg, rearrange to a = √(c² − b²); because a leg is always shorter than the hypotenuse, the hypotenuse you enter must be the largest side, or the tool flags it. The acute angles come from the arctangent of the legs and always add up to 90°.
This is the workhorse of right-triangle geometry: finding diagonals, checking that a corner is square in construction, computing distances, and deriving the coordinate distance formula. Whole-number side sets like 3-4-5 and 5-12-13 are called Pythagorean triples.
Imibuzo ebuzwa kaningi
Yini i-Pythagorean theorem?
I-triangle eqondile, a² + b² = c², lapho c iyi-hypotenuse. I-triangle eqondile engu-3-4 ine-hypotenuse √(9 + 16) = 5.
Uthola kanjani ikhanda elisha?
Phinda uhlanganise kuze kube yi-a = √(c² − b²). Ikhanda kumele libe likhulu kunale-hypotenuse, ngakho-ke ixabiso le-hypotenuse kumele libe yingxenye enkulu.
Yini amaxabiso angeziwe le thuluzi libonisa?
Ngaphandle kwengxenye elahlekile, ikhombisa indawo yesithathu (½ × ikhanda × ikhanda), ibanga layo, kanye nama-angles amabili aqinile.
Ingabe ama-angles aqinile atholakele?
Kusuka ku-arctangent yemilenze emibini. Ku-triangle eqondile ama-angles amabili aqinile ahlala engeza kuze kube ngu-90°.
Yini i-Pythagorean triple?
Isiqephu sezinhlangothi zenani eliphelele elihlangabezana ne-a² + b² = c², njenge-3-4-5 noma i-5-12-13. Zihlanganisa ama-triangles alungile ngaphandle kokujikeleza.
Kungani i-hypotenuse ifanele ibe yingxenye ende kakhulu?
Ihlala ibhekene ne-angle eqondile futhi ihlala ihlangothi olude kakhulu. Uma uxazulula ikhanda, i-hypotenuse ongenisa kuyo kufanele idlule ikhanda eliziwa noma ithuluzi liyifaka.
API — sebenzisa le calculator kusuka kukhodi
Nquma le calculator njenge JSON evulekile yendawo yokuqeda - akukho isithonjana esidingekayo. Thumela amaxabiso endawo ngezansi njengezilungiselelo zombuzo noma i-JSON. Noma yini ongayishiya isebenzisa iphutha elifanayo elifakwe ngaphambili lekhasi; ipharamitha engaziwa yi-400, ayikho i-zero emnyama. Funda i-API egcwele →
Ingxenye yendawo
GET https://calculator.free/api/v1/pythagorean-theorem/
curl
curl "https://calculator.free/api/v1/pythagorean-theorem/?solve=hypotenuse&a=3&b=4"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/pythagorean-theorem/?" + new URLSearchParams({
"solve": "hypotenuse",
"a": "3",
"b": "4"
}));
const data = await r.json();
console.log(data.results);
Izibalo ziyisilinganiso esisetshenziswa ukuqondisa kuphela, hhayi ukucebisa ngezimali, ukwelashwa noma ukukhokha.