How to Convert Spherical Coordinates to Cartesian Coordinates in an Equation?

  • Context: Undergrad 
  • Thread starter Thread starter Philosophaie
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
Philosophaie
Messages
456
Reaction score
0
I have an equation:

Br*r + BƟ*Ɵ

BØ = 0

I want to change it into x,y,z. How do I do this?

x=r*cosƟ*sinØ = 0
y=r*sinƟ*sinØ = 0
z=r*cosØ = r

?
 
Physics news on Phys.org
Is B a constant? If so then we have [itex]\phi= 0[/itex] which means we are on the z-axis and [itex]\theta[/itex] becomes irrelevant. [itex]\vec{r}[/itex], the unit vector pointing directly away from the origin must be <0, 0, 1> "Br*]b]r[/b] + BƟ*Ɵ" becomes just <0, 0, Bz>.