Correct Answer - Option 4 : 6.29 unit
Concept:
Conversion of spherical co-ordinate cartesian co-ordinate is given by
x = r sin θ cos ϕ
y = r sin θ sin ϕ
z = r cos θ
Calculation:
c = (-3, 2, 1); D = (r = 5 θ = 20° ϕ = -70°)
D in cartesian co-ordinate will be
x = 5 sin 20 cos (-70°) = 0.58
y = 5 sin 20 sin (-70°) = -1.606
z = 5 cos 20° = 4.698
So D = (0.58, -1.606, 4.698)
distance between two points (x1, y1, z1) to (x2, y2, z2) is given by
\(d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2+\left(z_2-z_1\right)^2}\)
\(d_{CD}=\sqrt{(.58+3)^2+(-1.606-2)^2+(4.698-1)^2}\)
dCD = 6.29 unit