# Right triangle calculator (b) - 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 cathetus b, and height h.

### Right scalene Pythagorean triangle.

Sides: a = 3   b = 4   c = 5

Area: T = 6
Perimeter: p = 12
Semiperimeter: s = 6

Angle ∠ A = α = 36.87698976458° = 36°52'12″ = 0.64435011088 rad
Angle ∠ B = β = 53.13301023542° = 53°7'48″ = 0.9277295218 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Height: ha = 4
Height: hb = 3
Height: hc = 2.4

Median: ma = 4.27220018727
Median: mb = 3.60655512755
Median: mc = 2.5

Vertex coordinates: A[5; 0] B[0; 0] C[1.8; 2.4]
Centroid: CG[2.26766666667; 0.8]
Coordinates of the circumscribed circle: U[2.5; 0]
Coordinates of the inscribed circle: I[2; 1]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 143.1330102354° = 143°7'48″ = 0.64435011088 rad
∠ B' = β' = 126.8769897646° = 126°52'12″ = 0.9277295218 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).

### 3. From cathetus b and hypotenuse c we calculate cathetus a - Pythagorean theorem:

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.

### 5. 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.

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

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{5}{2}=2.5$

### 11. 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.