Pythagorean Theorem Calculator
Compute the hypotenuse from legs a and b using c = √(a² + b²).
📐 计算公式
勾股定理与直角三角形要素(本页代码口径):斜边 c = √(a²+b²);∠A = atan2(a,b)×180÷π(对边 a、邻边 b,tanA = a÷b,已修正旧式 A/B 互换)、∠B = 90°−∠A;面积 = a×b÷2(m²)。校验:两项空值即提示;直角边不得为负(0 合法)。判据:无固定分级,两锐角互余,∠A<45° 时 a 为较短直角边。
直角三角形斜边长度。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Pythagorean theorem | a² + b² = c² for right triangles | Euclid Elements I.47 |
| Chinese record | Zhoubi Suanjing, 3-4-5 triple | Zhoubi Suanjing |
| Converse | Converse identifies right triangles | Geometric criterion |
| Pythagorean triples | Primitive triples | Number theory |
| Distance formula | Plane distance derives from it | Analytic geometry |
| Generalisation | Law of cosines is general form | Trigonometry |
📌 计算说明
- c = √(a² + b²)。
- 3-4 对应斜边 5。