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

Name the sides of Angle 1.
What is the value of x in the equation 7x + 2y = 48 , when y = 3?
Which term describes the right of a lender to sell collateral to get back the principal if the borrower cannot repay the loan?Select one of the options below as
The United States emerged as an Imperialist power following a. the Civil War. b. the Spanish American War. c. World War II. d. World War I.
Bronze is an example of which of the following: element atom solution solvent
imperialism was unsuccessful because
A share of ownership in a company is known as which of the following? a Stock b Investment c Rebate d Bond
determine if the triangle with the following vertices is a right triangle. A(-3, 5), B(1, 4), and C(-1, 0). then tell if it is a right triangle or not and how
why do our muscles behind our ears twitch when we hear a sudden loud noise
Landforms formed when horizontal rock layers are squeezed together and buckle