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

To which whole number is 1.89 closest
Robert Is dribbling the basketball up the court while his teammate Chris runs along side him when a defender tries to stop Robert he passes the ball to Chris wh
A taxi charges a flat rate of $1.75, plus an additional $0.65 per mile. If Erica has as most $10 to spend on the cab ride, how far could she travel?
Any any kind of clue on this
Which term means to be aware that safety is important and to be careful to act in a safe many
How would you describe an angle to someone who had never heard of one before? How would you describe how it is measured? Is it the space between the rays? Are t
compare and contrast weight and mass
Which of these men was a military leader during the mexican-american war?
This editorial cartoon refers to the “anaconda plan” that was part of the strategy of what conflict?
Katelyn has a vegetable garden that measure 16.75 feet in length and 5.8 feet in width. Find the area of the garden. Justify your answer.