Home » The Law of Cosines

The Law of Cosines

The Law of Cosines can be thought of as a more general case of Pythagorus. It has the advantage that it doesn’t have to be used on a right-angled triangle, but you need to know one of the angles as well.

Diag_LawOfCosine
c^2 = a^2 + b^2 - 2ab\cos \gamma

The angle γ is specified to be the one opposite the side “c” in the equation.

This formula is directly applicable for calculating inverse-kinematics for a 2 bone system.

Back up to Trigonometry

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.