News

Now, the dot product of N and (0,0,1) should be the cosine of the angle between the two vectors. Formulas for both the dot and cross product of 3d vectors are easily found.
The three trigonometric ratios; sine, cosine and tangent are used to calculate angles and lengths in right-angled triangles. The sine and cosine rules calculate lengths and angles in any triangle.