Pytagorean 理论计算器
解决右三角形: 找到下限或缺腿 。
输入结果时更新 。
关于此计算器
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.
经常问到的问题
毕达哥里定理是什么?
右三角形, a2 + b2 = c2, c 是下限。 A 3-4 右三角形的下限为 (9 + 16) = 5。
你怎么找到一条缺失的腿?
重新排列为 = (c2) - b2。 腿必须短于下限, 所以下限值必须是最大的一面 。
此工具显示的值是多少?
除了失踪的一面,它报告三角形的区域(2.5×腿×腿)、周边和两个尖角。
如何找到急角?
从两条腿的正切度。在右三角形中,两个尖角的相加总等于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);
成果仅是一般指导的估计数,而不是财务、医疗或税务咨询。