# Convert equation from cartesian to spherical

1. ### glog

18
This should be relitively simple:

y = x ... convert to spherical coords:

p*sin(r)*sin(t) = p*sin(r)*cos(t)

which reduces to...

sin(t) = cos(t)

tan(t) = 1 (is this right?)
t =~ 0.78... (Can i get a nice fraction for this?)

Any help is appreciated.

- glog

2. ### rootX

Looks good to me.

pi/4

you simply substitute and simplify.

3. ### HallsofIvy

40,386
Staff Emeritus
in other words, "y= x" in spherical coordinates reduces to the set of points where t= $\theta= \pi/4$, r= $\phi$ and p= $\rho$ can be anything. Do you see that that is, in fact, the same as the plane y= x?

4. ### glog

18
yep makes perfect sense....
only one angle is fixed :)

Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?