ピタゴラスの定理計算機
正三角形を解く: 斜方根または欠けている脚を見つける。
結果はタイプすると更新されます。
この計算機の情報
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.
よくある質問
ピタゴラスの定理とは何ですか。
直角三角形の場合、a² + b² = c² で、c は斜辺である。3-4直角三角形の場合、斜辺は√(9 + 16) = 5 である。
足をどうやって見つける?
a = √(c² − b²) に再配列します。脚は斜辺より短くなければなりません。斜辺の値は最大の辺になります。
このツールはどのような追加値を表示しますか?
欠けた側の他に,三角形の面積(1/2×脚×脚),周長,2つの急角度を報告する。
急角度はどうやって見つける?
二つの脚の角接線から。直角三角形では、二つの急角度の和は常に 90° になる。
ピタゴラスの三重項とは何か?
a2 + b2 = c2 を満たす整数の辺の集合。例えば 3-4-5 や 5-12-13 で、丸めなしの正三角形を形成します。
なぜ斜方根が最長の辺でなければならないのか。
直角に対して垂直で、常に最長の辺になります。 脚の解法では、入力した斜線は既知の脚よりも大きくなければなりません。その場合、ツールはそれをフラグします。
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信してください。 省略したものは、このページに既に入力されているデフォルトと同じ値を使用します。未知のパラメータは 400 で、サイレンスゼロはありません。 API ドキュメントを読む →
エンドポイント
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);
結果は一般的な指導のための推定であり,財務的,医療的または税務的な助言ではない。