# Right triangle calculator (c,h) - the result

Please enter two properties of the right triangle

Use symbols: a, b, c, A, B, h, T, p, r, R

You have entered hypotenuse c, and height h.

### Right scalene triangle.

Sides: a = 7.34985396971   b = 5.19660527634   c = 9

Area: T = 19.09217
Perimeter: p = 21.54545924605
Semiperimeter: s = 10.77222962302

Angle ∠ A = α = 54.73663873542° = 54°44'11″ = 0.955533018 rad
Angle ∠ B = β = 35.26436126458° = 35°15'49″ = 0.61554661468 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Height: ha = 5.19660527634
Height: hb = 7.34985396971
Height: hc = 4.24326

Median: ma = 6.36439000023
Median: mb = 7.79442784631
Median: mc = 4.5

Vertex coordinates: A[9; 0] B[0; 0] C[66.0001150756; 4.24326]
Centroid: CG[55.0000383585; 1.41442]
Coordinates of the circumscribed circle: U[4.5; 0]
Coordinates of the inscribed circle: I[5.57662434669; 1.77222962302]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 125.2643612646° = 125°15'49″ = 0.955533018 rad
∠ B' = β' = 144.7366387354° = 144°44'11″ = 0.61554661468 rad
∠ C' = γ' = 90° = 1.57107963268 rad

# How did we calculate this triangle?

The calculation of the triangle progress in two phases. The first phase is to try to calculate all three sides of the triangle from the input parameters. The first phase is different for the different triangles query entered. The second phase calculates other characteristics of the triangle, such as angles, area, perimeter, heights, the center of gravity, circle radii, etc. Some input data also results in two to three correct triangle solutions (e.g., if the specified triangle area and two sides - typically resulting in both acute and obtuse) triangle).

### 1. Input data entered: hypotenuse c, and height h

$c = 9 \ \\ h = 4.243$

### 2. From hypotenuse c and height h we calculate a,b - Pythagorean theorem, Euclid's theorem:

$\ \\ c = c_1+c_2 \ \\ h^2 = c_1 \cdot \ c_2 \ \\ \ \\ h^2 = c_1 \cdot \ (c-c_1) \ \\ h^2 = c_1 \cdot \ c-c_1 ^2 \ \\ \ \\ c_1^2 -c_1 \cdot \ c + h^2 = 0 \ \\ \ \\ c_1^2 -9 \cdot \ c_1 + 18 = 0 \ \\ \ \\ c_1 = 6 \ \\ c_2 = 3 \ \\ \ \\ a = \sqrt{ c_1^2+h^2 } = \sqrt{ 6^2+4.243^2 } = 7.349 \ \\ b = \sqrt{ c_2^2+h^2 } = \sqrt{ 3^2+4.243^2 } = 5.196$

Now we know the lengths of all three sides of the triangle, and the triangle is uniquely determined. Next, we calculate another of its characteristics - the same procedure as calculation of the triangle from the known three sides SSS.

$a = 7.35 \ \\ b = 5.2 \ \\ c = 9$

### 4. Semiperimeter of the triangle

The semiperimeter of the triangle is half its perimeter. The semiperimeter frequently appears in formulas for triangles that it is given a separate name. By the triangle inequality, the longest side length of a triangle is less than the semiperimeter.

### 7. Calculation of the inner angles of the triangle - basic use of sine function

$\sin α = \dfrac{ a }{ c } \ \\ α = \arcsin(\dfrac{ a }{ c } ) = \arcsin(\dfrac{ 7.35 }{ 9 } ) = 54^\circ 44'11" \ \\ \sin β = \dfrac{ b }{ c } \ \\ β = \arcsin(\dfrac{ b }{ c } ) = \arcsin(\dfrac{ 5.2 }{ 9 } ) = 35^\circ 15'49" \ \\ γ = 90^\circ$

An incircle of a triangle is a circle which is tangent to each side. An incircle center is called an incenter and has a radius named inradius. All triangles have an incenter, and it always lies inside the triangle. The incenter is the intersection of the three-angle bisectors. The product of the inradius and semiperimeter (half the perimeter) of a triangle is its area.

The circumcircle of a triangle is a circle that passes through all of the triangle's vertices, and the circumradius of a triangle is the radius of the triangle's circumcircle. Circumcenter (center of circumcircle) is the point where the perpendicular bisectors of a triangle intersect.

$R=\frac{c}{2}=\frac{9}{2}=4.5$

### 10. Calculation of medians

A median of a triangle is a line segment joining a vertex to the opposite side's midpoint. Every triangle has three medians, and they all intersect each other at the triangle's centroid. The centroid divides each median into parts in the ratio 2:1, with the centroid being twice as close to the midpoint of a side as it is to the opposite vertex. We use Apollonius's theorem to calculate the length of a median from the lengths of its side.