Write the direction cosines of the vector

The direction cosines of a vector are



In this question, a1=1, a2=2 and a3=3, Substituting in formulas we get



1