I believe that you're trying to use "Heron's Formula" to find the area of a riangle when you only know the three sides.
The formula is:
A = sqrt [ s (s - a) (s - b) (s - c) ] where "s" is the semi-perimeter and a, b and c are the triangle sides
And s = [ a + b + c] / 2 [add the three sides and divide by 2]
Here's an example......suppose a triangle has sides of 6, 8 , and 10.....find the area
s = [ 6 + 8 + 10 ] / 2 = 24 / 2 = 12
A = sqrt[ 12 (12- 10) (12 - 8) (12 - 6) ]
A = sqrt [ 12 * 2 * 4 * 6]
A = sqrt [ 24 * 24] = 24 sq units
And that's it !!!!
