# Triangle calculator

Please enter what you know about the triangle:
You have entered side a, b and c.

### Right scalene triangle.

Sides: a = 9   b = 40   c = 41

Area: T = 180
Perimeter: p = 90
Semiperimeter: s = 45

Angle ∠ A = α = 12.68803834918° = 12°40'49″ = 0.22113144423 rad
Angle ∠ B = β = 77.32196165082° = 77°19'11″ = 1.34994818844 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Height: ha = 40
Height: hb = 9
Height: hc = 8.78804878049

Median: ma = 40.25223291252
Median: mb = 21.93217121995
Median: mc = 20.5

Inradius: r = 4
Circumradius: R = 20.5

Vertex coordinates: A[41; 0] B[0; 0] C[1.97656097561; 8.78804878049]
Centroid: CG[14.3255203252; 2.92768292683]
Coordinates of the circumscribed circle: U[20.5; -0]
Coordinates of the inscribed circle: I[5; 4]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 167.3219616508° = 167°19'11″ = 0.22113144423 rad
∠ B' = β' = 102.6880383492° = 102°40'49″ = 1.34994818844 rad
∠ C' = γ' = 90° = 1.57107963268 rad

# How did we calculate this triangle?

### 1. Input data entered: side a, b and c. ### 2. The triangle circumference is the sum of the lengths of its three sides ### 3. Semiperimeter of the triangle ### 4. The triangle area using Heron's formula ### 5. Calculate the heights of the triangle from its area. ### 6. Calculation of the inner angles of the triangle using a Law of Cosines    