Problem Statement
Find the area of a triangle with sides 7 cm, 8 cm, and 9 cm.
Explanation
When only the three sides are known, use **Heron’s formula**. First compute the semi–perimeter s = (7 + 8 + 9)/2 = 12. Then area = √[s(s − a)(s − b)(s − c)] = √[12 × 5 × 4 × 3] = √720 = 12√5 ≈ 26.83 cm². This avoids needing a height.
Code Solution
SolutionRead Only
s=12 ⇒ A=√(12·5·4·3)=√720=12√5
Practice Sets
This question appears in the following practice sets:
