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

Alexa drew a retangle with an area of 36 square centimeters. The rectangle she drew has the smallest perimeter possible for this area. What is the lenght and wi
F(x) = 4x^2 - 3x + 2kx + 1 What's the value of k for which the function has two zeros?? Can someone show me step by step?
Iron(III) sulfite has the formula a) Fe₃SO₃ b) Fe₂(SO₄)₃ c) Fe₂(SO₃)₃ d) Fe₂SO₄ e) Fe₂SO₃
What form of energy is stored in a green plant?
Which of the following are factors that both unicellular and multicellular organisms actively balance in order to achieve homeostasis?A)size, shape, and massB)t
What is the definition of role on the wall
What is 3 and 1/8 + 1 and 2/5 ? please answer I need help with my hw
A solution can be both a. Dilute and concentrated b. Saturated and dilute c. Saturated and unsaturated d. Supersaturated and saturated e. None of these
Explain the steps that show how the sun provides the energy for surface ocean currents:
How long did the Mongolian empire last?Who were the Mongolians enemies before Mongolia became an empire?What was the name of the Mongolian ruler?