Let direction cosine of the line are l, m, n
where Given, cosθ=rDC′s ⇒,DC′s=rcosθ=rl ⇒rl=12 .....(i)
similarly r m = 4 .... (ii)
and r n = 3 .... (iii)
Squaring and adding equation (i), (ii)
and (iii), we get r2(l2+m2+n2)=122+42+32 =144+16+9=169 ⇒r2=169(∵l2+m2+n2=1) ⇒r=13
Now, l=lengthoflinesegmentprojectiononx−axis=1312
similarly, m=134,n=133
Hence, Direction cosine are 1312,134,133