Triangle Solver
This JavaScript program calculates the missing sides and angles of a triangle.
The program
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
All sides are measured in the same unit. For example, you cannot directly try to solve a triangle with the sides 3 ft., 5 in., and 1 m; you must convert them to a common unit first.
3 sides (SSS) yields a unique solution, or no solution if the longest side is longer than the sum of the other sides.
2 sides and a non-enclosed angle (SSA) yields 0, 1, or 2 solutions.
2 angles and a side (ASA) always yields a unique solution.
2 sides and an enclosed angle (SAS) always yields a unique solution.
Links
Last modified: 2008-04-16-Wed
Created: 2007-10-19-Fri