I am trying to make a table rays that shine through a lens. Because the Math term was to long to be simplified with my computer i wrote the program in little steps with the "with-command" so that the source code is not endless long. The program works fine for one ray but i'd like to design it for a whole bundle of rays. They all should start where the original one started. But hit the surface of the lens at equidistant places. I tried a lot but nothing seemd to work.
And in addition to that I'd like to know if there is a better way on how to replace the "t" variable in the Functions other than writing
"/. t -> xo" or "/. g -> xu" because it makes the whole thing pretty long when I write it after every "f" and "g". I attached the project to this Post.
Attachment: Double Refraction on a Lense.nb, URL: ,