It is given that the line makes equal angles with the coordinate axis. The angle made be the line is
Let the direction cosine of the line be
We know that
Substitute the value of l, m and n in the above formula.
Thus, the direction cosines are