# Triangle calculator

You have entered side a, b and angle γ.

### Obtuse scalene triangle.

Sides: a = 45   b = 120   c = 135.2798972197

Area: T = 2658.981093313
Perimeter: p = 300.2798972198
Semiperimeter: s = 150.1399486099

Angle ∠ A = α = 19.12327025496° = 19°7'22″ = 0.33437541214 rad
Angle ∠ B = β = 60.87772974504° = 60°52'38″ = 1.06325092802 rad
Angle ∠ C = γ = 100° = 1.7455329252 rad

Height: ha = 118.1776930361
Height: hb = 44.31663488855
Height: hc = 39.31110753274

Median: ma = 125.873275384
Median: mb = 81.01104941313
Median: mc = 60.3110860716

Vertex coordinates: A[135.2798972197; 0] B[0; 0] C[21.90106702319; 39.31110753274]
Centroid: CG[52.39332141431; 13.10436917758]
Coordinates of the circumscribed circle: U[67.63994860987; -11.92766663605]
Coordinates of the inscribed circle: I[30.13994860987; 17.71100708296]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 160.877729745° = 160°52'38″ = 0.33437541214 rad
∠ B' = β' = 119.123270255° = 119°7'22″ = 1.06325092802 rad
∠ C' = γ' = 80° = 1.7455329252 rad

# How did we calculate this triangle?

### 1. Input data entered: side a, b and angle γ. ### 2. Calculation of the third side c of the triangle using a Law of Cosines Now we know the lengths of all three sides of the triangle and the triangle is uniquely determined. Next we calculate another its characteristics - same procedure as calculation of the triangle from the known three sides SSS. ### 3. The triangle circumference is the sum of the lengths of its three sides ### 4. Semiperimeter of the triangle ### 5. The triangle area using Heron's formula ### 6. Calculate the heights of the triangle from its area. ### 7. Calculation of the inner angles of the triangle using a Law of Cosines    