Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Changing to x,y,z

  1. Nov 2, 2008 #1
    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

  2. jcsd
  3. Nov 3, 2008 #2


    User Avatar
    Science Advisor

    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>.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook