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

I need some help on this if anyone knows this
115.2 divided by 9.6
(I really need help plsssss) Translate and solve the following equation: Six times the difference of two and twice a number, increased by three times a number i
-3x + 22 < 10 please give me answer need it now
I need help, please i need to get this done
Why were these "Articles of confederation " effective for the Revolutionary war but disaster for peace time
What kind of person is Levi’s grandmother in the story
Question 2 of 30 Which of the following strategies is most likely to help prevent driving accidents? O A. Not telling your parents where you're going O B. Liste
the gdp deflator in year 2 is 110 and the gdp deflator in year 3 is 118. the rate of inflation between years 2 and 3 is
What is the value of 21 + 62 – (35 – 8) • 3? A. 90 B. 0 C. –24 D. –54