distance between two position vector in spherical coordinates
Answers
Answered by
0
You have simply to write it in Cartesian coordinates and change variables: x=rsin(θ)cos(ϕ)x=rsin(θ)cos(ϕ), y=rsin(θ)sin(ϕ)y=rsin(θ)sin(ϕ), z=rcos(θ)z=rcos(θ)
(x−x′)2+(y−y′)2+(z−z′)2−−−−−−−−−−−−−−−−−−−−−−−−−√=(x−x′)2+(y−y′)2+(z−z′)2=
=r2+r′2−2rr′[sin(θ)sin(θ′)cos(ϕ)cos(ϕ′)+sin(θ)sin(θ
(x−x′)2+(y−y′)2+(z−z′)2−−−−−−−−−−−−−−−−−−−−−−−−−√=(x−x′)2+(y−y′)2+(z−z′)2=
=r2+r′2−2rr′[sin(θ)sin(θ′)cos(ϕ)cos(ϕ′)+sin(θ)sin(θ
Similar questions