English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

does anyone know how to convert VECTORS from oe for to another??[ say from cartesian to polar or spherical] it wud be helpful if u take a numerical example!!!!

2007-10-11 08:32:53 · 1 answers · asked by adarsh2503 2 in Science & Mathematics Engineering

1 answers

Cartesian to Spherical

r = sqrt(x^2 + y^2 + z^2)
phi = cos^-1[z / (sqrt(x^2 + y^2 + z^2) ]
theta = tan^-1[y / x]

phi is the angle from the z-axis
theta is the angle from the x-axis

Spherical to cartesian:
x = r * sin(phi) * cos(theta)
y = r * sin(phi) * sin(theta)
z = r * cos(phi)

example:
(x=3, y=4, z=12) converts to:
(r = 13, phi = 22.62 degrees, theta = 36.87 degrees)

.

2007-10-11 08:52:06 · answer #1 · answered by tlbs101 7 · 1 0

fedest.com, questions and answers