Direction cosines and Direction ratios
Direction cosines and direction ratios are used to describe the orientation of a line or a vector in three-dimensional space. Direction cosines are the cosines of the angles that a given line or vector makes with the positive x, y, and z axes of a Cartesian coordinate system. For example, if the angles that a…