Pythagorova věta kalkulačka
Vyřešte pravý trojúhelník: najděte přeponu nebo chybějící nohu.
Aktualizace výsledků při psaní.
O této kalkulačce
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.
Často kladené otázky
Co je Pythagorova věta?
Pro pravý trojúhelník, a2 + b2 = c2, kde c je přepona. A 3-4 pravý trojúhelník má přeponu ¶9 + 16) = 5.
Jak najdete chybějící nohu?
Přejděte na a = ~ c2 − b2). Noha musí být kratší než přepona, takže přepona musí být největší strana.
Jaké další hodnoty tento nástroj ukazuje?
Kromě chybějící strany uvádí oblast trojúhelníku (1⁄2 × noha × noha), jeho obvod a dva akutní úhly.
Jak se nacházejí akutní úhly?
Z arctangent obou nohou. V pravém trojúhelníku dva akutní úhly vždy sečte až 90°.
Co je Pythagorovo trojité?
Sada celých stran čísel, které splňují a2 + b2 = c2, jako 3-4-5 nebo 5-12-13. Tvoří přesné pravé trojúhelníky bez zaokrouhlování.
Proč musí být přepona nejdelší?
Sedí naproti pravému úhlu a je vždy nejdelší strana. Když vyřešíte nohu, přepona, kterou vstoupíte, musí překročit známou nohu nebo nástroj vlaje ji.
API díru použijte tuto kalkulačku z kódu
Zavolejte tuto kalkulačku jako volný JSON cíl? není nutné žádný klíč. Odešlete hodnoty pole níže jako parametry dotazu nebo JSON. Cokoliv vynecháte používá stejný výchozí parametr, tato stránka je předplněná; neznámý parametr je 400, nikdy tichá nula. Přečtěte si všechny API dokumenty →
Konečný bod
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);
Výsledky jsou odhady pouze pro obecné pokyny, nikoli finanční, lékařské nebo daňové poradenství.