Search results
Results from the WOW.Com Content Network
the third side of a triangle if two sides and an angle opposite to one of them is known (this side can also be found by two applications of the law of sines): [a] = . These formulas produce high round-off errors in floating point calculations if the triangle is very acute, i.e., if c is small relative to a and b or γ is small compared to 1.
To find an unknown angle, the law of cosines is safer than the law of sines. The reason is that the value of sine for the angle of the triangle does not uniquely determine this angle. For example, if sin β = 0.5 , the angle β can equal either 30° or 150°.
If the law of cosines is used to solve for c, the necessity of inverting the cosine magnifies rounding errors when c is small. In this case, the alternative formulation of the law of haversines is preferable. [3] A variation on the law of cosines, the second spherical law of cosines, [4] (also called the cosine rule for angles [1]) states:
Case 5: two angles and an opposite side given (AAS). The sine rule gives b and then we have Case 7 (rotated). There are either one or two solutions. Case 6: three angles given (AAA). The supplemental cosine rule may be used to give the sides a, b, and c but, to avoid ambiguities, the half-side formulae are preferred.
With these functions, one can answer virtually all questions about arbitrary triangles by using the law of sines and the law of cosines. [33] These laws can be used to compute the remaining angles and sides of any triangle as soon as two sides and their included angle or two angles and a side or three sides are known.
The proofs given in this article use these definitions, and thus apply to non-negative angles not greater than a right angle. For greater and negative angles , see Trigonometric functions . Other definitions, and therefore other proofs are based on the Taylor series of sine and cosine , or on the differential equation f ″ + f = 0 ...
The law of sines is useful for computing the lengths of the unknown sides in a triangle if two angles and one side are known. This is a common situation occurring in triangulation , a technique to determine unknown distances by measuring two angles and an accessible enclosed distance.
In a right triangle, the cosine of an angle is the ratio of the leg adjacent of the angle and the hypotenuse. For a right angle γ (gamma), where the adjacent leg equals 0, the cosine of γ also equals 0. The law of cosines formulates that = + holds for some angle θ (theta).