[Math] How to calculate compound angles

anglegeometrytrigonometry

How can I calculate the compound angle when I know two of the angles but don't know what the angle would be where the two intersect?

enter image description here

If "A" and "C" are sitting on a 9.16 degree angle and the are coming together at a 90 degree angle in the corner, how can the compound angle of "A" and "C" be determined? In the past, I would try 3d modeling such a space and testing the angles and trying to figure it out by stepping backwards, but I feel that there must be a simpler and more elegant solution.

Best Answer

One method would be to construct vectors $n_A$ and $n_C$ perpendicular to the two surfaces $A$ and $C,$ then use the formula $$ n_A \cdot n_C = \|n_A\| \|n_C\| \cos \theta_{AC}. $$ Solve this for $\theta_{AC},$ the angle between the surfaces.

This formula works reasonably well in the given example since the angle between the surfaces is not too far from $90$ degrees. Angles near $90$ degrees give good results because $\frac{d}{d\theta} \cos\theta$ is maximized when $\theta$ is $90$ degrees. If you try this method for surfaces that are nearly parallel, you run into the fact that when $\cos\theta \approx 1,$ a small error in the value of $\cos\theta$ translates into a much larger error in the value of $\theta.$

Related Question