This question was asked in Ex 11.1, 3
What is direction cosines and why we use only cosines

Shubham Nishad's image