- #1
interference
- 7
- 0
Hello everyone,
I am working on trying to model a bouncing light ray between two curves, and I would like to model it in Mathematica. However, I do not know what syntax or how to go about typing the code in. I tried to find examples on the Mathematica Documentation Centre but the examples there are not to relevant.
For example, I have two curves, let's say two parabolic curves one above the other. I want to simulate these as mirror and bounce a light ray between the two curves. Can anyone give me an idea on what Syntax to do it?
I understand people draw lines using the Line command, but I do not know how to proceed from there, such as how to program the line to reflect and calculate the slope and normal at the point where the light ray hits one curve and so on.
Thanks very much :)
I am working on trying to model a bouncing light ray between two curves, and I would like to model it in Mathematica. However, I do not know what syntax or how to go about typing the code in. I tried to find examples on the Mathematica Documentation Centre but the examples there are not to relevant.
For example, I have two curves, let's say two parabolic curves one above the other. I want to simulate these as mirror and bounce a light ray between the two curves. Can anyone give me an idea on what Syntax to do it?
I understand people draw lines using the Line command, but I do not know how to proceed from there, such as how to program the line to reflect and calculate the slope and normal at the point where the light ray hits one curve and so on.
Thanks very much :)