You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser. In a right-angled triangle with sides a, b and hypotenuse c,
The area is
√ (s(s-a)(s-b)(s-c))
Or
a*b/2
... and these will be equal, and the difference zero. This works for a 3,4,5 triangle, but, in the example below they are both correctly calculated as 35, but the difference is wrong.
Any ideas?
a = √(35)
b = 2√35
c = √(a^2 + b^2)
s = (a+b+c)/2
√ (s(s-a)(s-b)(s-c))-a*b/2 = 1.1×10⁻³¹
d=√(s(s-a)(s-b)(s-c))
D
f = a*b/2
f
d-f = 1.1×10⁻³¹