The correct option is B 1√2,12,12
Let α,β and γ be the angles made by the line segment OP with X-axis, Y-axis and Z-axis respectively.
Given: α=π4 and β=π3
We know that, cos2α+cos2β+cos2γ=1
∴cos2π4+cos2π3+cos2γ=1
⇒(1√2)2+(12)2+cos2γ=1
⇒12+14+cos2γ=1
⇒cos2γ=14
⇒cosγ=12
∴γ=π3
Hence, direction cosines are cosα,cosβ,cosγ
i.e. 1√2,12,12.