Direction Ratios and Direction Cosines

In three-dimensional geometry, direction ratios are used to represent the direction of a straight line in…