1. Limited time only! Sign up for a free 30min personal 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!

Homework Help: Coordinates problems. How to convert from one system to another

  1. Oct 27, 2011 #1
    1. The problem statement, all variables and given/known data


    I got a problem with some simple modeling. The original code assumes a spherical cloud with a central source, and it assumes that the source sits at the centre of the sphere. I want to change this model and instead of using photons coming from the central source, I want to assume that the photons start from the surface of the sphere.

    2. Relevant equations

    The original parameters are:
    Initial Location
    xp = xs
    yp = ys
    zp = zs

    Set the photon of travel ---------
    ! nxp=sint*cos(phi)
    ! nyp=sint*sin(phi)
    ! nzp=cost

    I used spherical coordinates for the starting point (r,t,phi)

    What sort of conversion is needed in the setting of the photon travel?

    3. The attempt at a solution

    Any hints/help is more than welcome

    Thanks a lot in advance
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted