1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Going from Spherical coordinates to Cartesian

  1. Apr 15, 2008 #1
    1. The problem statement, all variables and given/known data

    Convert the point `(rho,theta,phi) = (6, (5pi)/4, pi/2)` to Cartesian coordinates. Give answers as positive values, either as expressions, or decimals to one decimal place.

    3. The attempt at a solution



    x = 6*sin(5pi/4)*cos(pi/2)
    y = 6*sin(5pi/4)*sin(pi/2)
    z = 6*cos(5pi/4)

    x = 0
    y = -4.242640687 (+2pi)
    z = -4.242640687 (+2pi)

    What did I do wrong?
  2. jcsd
  3. Apr 15, 2008 #2


    User Avatar
    Science Advisor
    Homework Helper

    Don't know. It looks reasonable so far. But you should be warned that mathematicians and physicists use different convention for the meaning of the angles in spherical coordinates. Are you sure you got the coordinate change from the same source as the problem? But I'm not sure what the (+2pi) is supposed to mean.
  4. Apr 15, 2008 #3
    Because my answer is negative, don't I add 2pi to get the correct positive answer, as is the law of angles in this format?

    FTR, here's the right answer.

  5. Apr 15, 2008 #4


    User Avatar
    Science Advisor
    Homework Helper

    Your answer is {x,y,z}. Those aren't angles. You can't add anything to them. Where did you get that 'answer'? I'm guessing because of the E-16 from some kind a 'calculator device'. Are you sure that is using the same conventions as the problem source?
  6. Apr 15, 2008 #5
    Yeah, it's an online homework system. WAMAP.
  7. Apr 15, 2008 #6


    User Avatar
    Science Advisor
    Homework Helper

    Oh, great. I don't know what WAMAP means either. But from the -4.24264068712 and E-16 which should in any reasonable universe be written as '0', you weren't completely off.
  8. Apr 16, 2008 #7


    User Avatar
    Staff Emeritus
    Science Advisor

    Is this an engineering class or a mathematics class?

    The reason I ask is that engineers swap "[itex]\theta[/itex]" and "[itex]\phi[/itex]" from what mathematicians use. Is [itex]\phi[/itex] the "co-latitude" and [itex]\theta[/itex] the "longitude" or vice-versa?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?