audraleigh45 audraleigh45
  • 15-02-2022
  • Computers and Technology
contestada

3. Write a Java expression to calculate the area of a triangle, given three sides a, b, c. (Heron's
formula)

Respuesta :

brooklinnmoos
brooklinnmoos brooklinnmoos
  • 15-02-2022

Answer:

Area = square root of (p*(p-a)*(p-b)*(p-c)) (where p = (a+b+c)/2).

Explanation:

According to heron's formula, the area of a triangle with 3 sides a, b and c is,

Answer Link
nischalsubedi343
nischalsubedi343 nischalsubedi343
  • 15-02-2022

Answer:

I think it is 1/2 b*h

OR

a+b+c

OR

√3/4*a^2

Answer Link

Otras preguntas

let f(x)=x+8 and g(x)=x^2 -6x-7. find f(g(2))
Is economic equality an attainable goal?
Helen Grey By Christina Georgina Rossetti Because one loves you, Helen Grey, Is that a reason you should pout, And like a March wind veer about, And frown, and
Helen Grey By Christina Georgina Rossetti Because one loves you, Helen Grey, Is that a reason you should pout, And like a March wind veer about, And frown, and
Lim[(sqrt(cos(2x))-cubicrootof(cos(x))]/arctg(x^2) when x->0
Is velocity related to momentum
let f(x)=2x+2. solve f^-1(x) when x=4.
Is velocity related to momentum
why do we use a coeficient to remove the propotionality
What are some key words to use in writing and evaluation?