learn.howToCalculate
learn.whatIsHeading
Heron's formula calculates the area of a triangle from its three side lengths alone, without needing the height. It was discovered by the ancient Greek mathematician Hero of Alexandria.
Công thức
s = (a+b+c)/2; A = √(s(s−a)(s−b)(s−c))
- a, b, c
- triangle side lengths (length)
- s
- semi-perimeter (length)
- A
- area (length²)
Hướng dẫn từng bước
- 1s = (a + b + c) / 2 (semi-perimeter)
- 2Area = √(s(s−a)(s−b)(s−c))
- 3Works for any triangle given three sides
- 4Triangle inequality must hold: each side < sum of other two
Ví dụ có lời giải
đầu vào
Sides 3, 4, 5
Kết quả
s=6, Area = √(6×3×2×1) = 6
đầu vào
Sides 5, 5, 6
Kết quả
s=8, Area = √(8×3×3×2) = 12
Câu hỏi thường gặp
When is Heron's formula most useful?
When you know all three sides but not the height. It's ideal for surveying and triangulation problems.
What happens if the triangle inequality is violated?
The result under the square root becomes negative, which signals an impossible triangle.
Is Heron's formula always accurate?
Yes, but for very flat triangles (small area relative to sides), numerical precision issues can arise in computation.
Sẵn sàng để tính toán? Dùng thử Máy tính Heron's Formula miễn phí
Hãy tự mình thử →