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 ideas for a project. The topic is "Oktoberfest", I can do any kind of project as long as its presentation doesn't last more than 10-15 minutes. It i
The United Nations called the North Koreans: fascists aggressors patriots cowards
A line in the Cartesian plane passes through the points (–2, 4) and (2, –1). What are the rise and the run of the line? a. The rise is –5, the run is 4. b. Th
Evaluation problem please help
Which of the following events is a example of a revolution? a. A group of protesters hang posters that say the current president is not good for their country.
36 2/5 x what = 109 1/5
Which vocabulary word best describes the thrush in “The Darkling Thrush”? a. languish b. prodding c. gaunt d. terrestrial
A solution with a pH of 6.0 is a. acidic. b. neutral. c. weakly basic. d. strongly basic.
What role does government regulation serve in business
I need some ideas for a project. The topic is "Oktoberfest", I can do any kind of project as long as its presentation doesn't last more than 10-15 minutes. It i