Hello everyone,(adsbygoogle = window.adsbygoogle || []).push({});

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, lets 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 :)

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Reflecting light ray between two curves in Mathematica

**Physics Forums | Science Articles, Homework Help, Discussion**