Both segments start at , so their direction vectors are and . Their dot product is , and their norms are and . ThusThe angle between the rays lies in , so its sine is nonnegative:The negative cosine correctly identifies an obtuse angle. One also obtains the sine from , using the cross product.
Articles by others on the same topic
There are currently no matching articles.