I have a small problem of physics linked to a basic ray tracing algorithm. My problem is the following :
At $t = 0$, a photon at the position $(x_0 = x_\text{min},y_0 = y_\text{min})$ with the velocity $\vec{c} = c\vec{e}_x$ is entering a zone $(x_\text{min},y_\text{min},x_\text{max},y_\text{max})$ where a uniform gravitational force $\vec{f} = f(\cos\beta\,\vec{e}_x+\sin\beta\,\vec{e}_y)$ is applied. What is the equation of its trajectory (newtonian and relativistic)?
As I would like to be sure to make no mistakes, I would like your advices.
Thank you very much !
