I-Calculator ye-Pythagorean Theorem
Solve a right triangle: find the hypotenuse or a missing leg.
Iinketho ze projekti
Malunga nale Calculator
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 ebuza rhoqo
Yintoni i- Pythagorean theorem?
Umfanekiso we-triangle othe tyaba, a² + b² = c², apho i-c ikwi-hypotenuse. I-3-4 triangle ethe tyaba ine-hypotenuse √(9 + 16) = 5.
Ufumana njani imilenze elahlekile?
Yenza kwakhona ulungelelaniso kwi a = √(c² − b²). Umlenze kufuneka ube mfutshane kune-hypotenuse, ngoko ke ixabiso le-hypotenuse kufuneka libe yicala elikhulu.
Ixabiso elingaphezulu elibonisa ntoni le sixhobo?
Ngaphandle kwecala elilahlekileyo, lixela indawo yesithathu (½ × imilenze × imilenze), umda wayo, kunye nee-engile ezimbini ezikhawulezayo.
Ii-engile ezikhawulezayo zifumaneka njani?
Ukusuka kwi-arctangent yemilenze emibini. Kwisithathu emfutshane i-engile ezimbini eziqaqambileyo zisoloko zidibanisa ukuya kwi-90°.
Yintoni i Pythagorean triple?
Iqela lemigca yenani elipheleleyo elihlangabezana ne a² + b² = c², njenge 3-4-5 okanye 5-12-13. Zivelisa iithayile ezithe nkqo ezichanekileyo ngaphandle kokujikelezisa.
Kutheni i-hypotenuse kufuneka ibe yinxalenye ende kakhulu?
Ihlala iphikisana nekona ekunene kwaye ihlala icaleni elide. Xa ugqiba ngemithambo, i-hypotenuse oyisebenzisayo kufuneka idlule kwimithambo eyaziwayo okanye isixhobo siyiphawule.
API — sebenzisa le calculator ukusuka kwikhowudi
Nceda le khadi lemali njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo ezantsi njengeparameter yombuzo okanye i-JSON. Nantoni na oyenzayo isebenzisa okungagqibekanga okufanayo eli phepha ligqityiwe ngaphambili; iparameter engaziwayo yi 400, ayikho i zero ekhululekileyo. Funda i-API epheleleyo →
Incopho yesiphelo
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);
Results are estimates for general guidance only, not financial, medical or tax advice.