Triangle Solver

This JavaScript program calculates the missing sides and angles of a triangle.

The program

Triangle with sides and angles labelled
Input

Side a: units

Side b: units

Side c: units

Angle A: degrees

Angle B: degrees

Angle C: degrees

Output

Case:

Side a: units

Side b: units

Side c: units

Angle A: degrees

Angle B: degrees

Angle C: degrees

Instructions

In the input text field, enter 3 pieces of information about the triangle with reference to the diagram, then press the Solve button. All sides must have positive lengths, and angles must be between 0° and 180°.

Notes and caveats

Links

Last modified: 2008-04-16-Wed
Created: 2007-10-19-Fri