Hi, I haven't studied diff. eqs. much, so I need some help. I decided to use trig & calc to solve for a light beam in a medium with a continuously changing index of refraction described by n(x,y). The light vector is L, and dL/dt is the change in the light ray's direction. I assumed |L| is always 1. Here's the result I got:
dL/dt = (n(x,y) / n(x+dn(x,y)/dx,y+dn(x,y)/dy)) * |grad(n(x,y)) x L| * (k x grad(n(x,y))) - L
This is derived from simple vector subtraction & shows that L changes parallel to the virtual optical surface (k x grad(n(x,y))) as one would expect from snell's law. By the way, I've assumed it's just a 2D problem for simplicity. I need help changing this to a function of just L & t (getting rid of dL/dt). Can anyone help?
dL/dt = (n(x,y) / n(x+dn(x,y)/dx,y+dn(x,y)/dy)) * |grad(n(x,y)) x L| * (k x grad(n(x,y))) - L
This is derived from simple vector subtraction & shows that L changes parallel to the virtual optical surface (k x grad(n(x,y))) as one would expect from snell's law. By the way, I've assumed it's just a 2D problem for simplicity. I need help changing this to a function of just L & t (getting rid of dL/dt). Can anyone help?