I am stuck with the following question. This is a question posted to me by my physicist friend

Attached is the figure of a ellipse with a formula of

Code: Select all

`y^2+(x/1.5)^2=1`

Now, suppose I launch a light from the coordinates (-1.5,0.0) at an angle alpha in such a way that the light will experience reflection on the surface. How am I going to find all the coordinates when the light hit the surface.

My approach is to find the derivative. Hence I got

Code: Select all

`(x/y)*(1/1.5^2)`

The process is rather tedious and I am hoping someone can help me with a better solution

Sorry it's my 1st time here and still having difficulty adding the necessary equation.

Meanwhile, does anyone know how to derive the java source code for the ray tracing animation in [link]http://projecteuler.net/index.php?secti ... ems&id=144[/link]???? Need a better understanding for my question